|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
set focusbutton... can anyone tell me how can i setfocus of textbox when page is load? should i do that by java script?please send me coding how to do that? and can anyone tell me how can i send mail to the group of user?and how can i add user in the vb.net? i am developing one web application for one designing institute and they want mailing facility so if i send one mail then all the member of institute get that mail and for that i am supposed to create one group for that....and any member can leave any time and one can be a member of the institute so no of user are not fixed so tell me how can i do?i did coding for sending one mail to the single user but i don't know how to do for the group?should i take one array?please send me the code snippet and it's better if it's in visual basic and not asp..thanks a lot in advance Nil "Stuart Nathan" <stuart.nat***@homecall.co.uk> schrieb: .... which won't work because when the 'Load' event executes the form is not > in the load event use TextBox.Focus yet visible. You may want to call the control's 'Select' method instead. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Show quote
Hide quote
"nil" <NileshThakker***@gmail.com> wrote in message Or, you could use the form's Activated event, which will work for initial news:1165315116.177188.112310@j72g2000cwa.googlegroups.com... > hi..suppose there is only one textbox in the form and one command > button... > can anyone tell me how can i setfocus of textbox when page is load? > should i do that by java script?please send me coding how to do that? > > > and can anyone tell me how can i send mail to the group of user?and how > can i add user in the vb.net? > i am developing one web application for one designing institute and > they want mailing facility so if i send one mail then all the member of > institute get that mail and for that i am supposed to create one group > for that....and any member can leave any time and one can be a member > of the institute so no of user are not fixed so tell me how can i do?i > did coding for sending one mail to the single user but i don't know how > to do for the group?should i take one array?please send me the code > snippet and it's better if it's in visual basic and not asp..thanks a > lot in advance > > > > Nil > setup. On 5 Dec 2006 02:38:36 -0800, nil wrote:
> hi..suppose there is only one textbox in the form and one command What you can do is add some javascript on the page load event to set focus> button... > can anyone tell me how can i setfocus of textbox when page is load? > should i do that by java script?please send me coding how to do that? to the textbox that you want > and can anyone tell me how can i send mail to the group of user?and how For this one get your mail administrator to make a mailing list that has an> can i add user in the vb.net? > i am developing one web application for one designing institute and > they want mailing facility so if i send one mail then all the member of > institute get that mail and for that i am supposed to create one group > for that....and any member can leave any time and one can be a member > of the institute so no of user are not fixed so tell me how can i do?i > did coding for sending one mail to the single user but i don't know how > to do for the group?should i take one array?please send me the code > snippet and it's better if it's in visual basic and not asp..thanks a > lot in advance email address and use that address in your application. This way users can be added or removed from the mailing list without requiring you to change your code > Nil WhOn Tue, 5 Dec 2006 21:00:40 +0300, Rad [Visual C# MVP] wrote:
> On 5 Dec 2006 02:38:36 -0800, nil wrote: Just to clarify, I mean the html of the page> >> hi..suppose there is only one textbox in the form and one command >> button... >> can anyone tell me how can i setfocus of textbox when page is load? >> should i do that by java script?please send me coding how to do that? > > What you can do is add some javascript on the page load event to set focus > to the textbox that you want <body onload="document.getElementById('textBoxName').focus();"> Rad [Visual C# MVP] wrote:
Show quoteHide quote > On Tue, 5 Dec 2006 21:00:40 +0300, Rad [Visual C# MVP] wrote: thanks a lot all of you for reply and i did what you suggest me but> > > On 5 Dec 2006 02:38:36 -0800, nil wrote: > > > >> hi..suppose there is only one textbox in the form and one command > >> button... > >> can anyone tell me how can i setfocus of textbox when page is load? > >> should i do that by java script?please send me coding how to do that? > > > > What you can do is add some javascript on the page load event to set focus > > to the textbox that you want > > Just to clarify, I mean the html of the page > > <body onload="document.getElementById('textBoxName').focus();"> > > > -- > Bits.Bytes > http://bytes.thinkersroom.com it's not working so i did setfocus by registerscript() event in page load event as i am using vb.net 2003 and tell me how can i add member to mailing list that i don't know as i am new to ..net and nobody is my technical guide....i am developing this webapplication as my college project...so can anyone tell me how to do that?should i store all the member id in the database and then when one wants to send the mail on group then i fetch all the id from the database and store in arraylist and then mail to everyone?i did coding for sending mail to individual...so please let me know about that....thanks a lot |
|||||||||||||||||||||||