|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
client side access.hi,
i have used Page.RegisterHiddenField to implement some client side functinality in my application. after the page is loaded I have manuplated value of the hidden field using javascript. now how will i get the changed value on server side. can any one let me know. I have earlier trie with by using sever textbox control. is this possible. Kishor If you set the hidden textbox to runat="server" then you can access it from
your server code just as if it were a normal textbox web control. Show quoteHide quote "kishor" <kis***@discussions.microsoft.com> wrote in message news:503B5B67-436D-4BB3-8AC2-4B4BBC30EACE@microsoft.com... > hi, > i have used Page.RegisterHiddenField to implement some client side > functinality in my application. after the page is loaded I have manuplated > value of the hidden field using javascript. now how will i get the changed > value on server side. can any one let me know. I have earlier trie with by > using sever textbox control. is this possible. > > Kishor Hi,
Thanxs for your reply.. actually I have tried tht only as my fist step but I ended in so many problems. I am writing a code for a custom control. (this is composed control not a rendered). and code is written on onprerender event. here control throws a editable div; which contents I have to capture at server side. I have added a code for adding textbox to controls collection and control is visible. at client side using javascript I am able to copy contents of div to tht added textbox. but tht text box is also loosing its contents. and not getting at serverside. Regards, Kishor Show quoteHide quote "Steve C. Orr [MVP, MCSD]" wrote: > If you set the hidden textbox to runat="server" then you can access it from > your server code just as if it were a normal textbox web control. > > -- > I hope this helps, > Steve C. Orr, MCSD, MVP > http://SteveOrr.net > > > "kishor" <kis***@discussions.microsoft.com> wrote in message > news:503B5B67-436D-4BB3-8AC2-4B4BBC30EACE@microsoft.com... > > hi, > > i have used Page.RegisterHiddenField to implement some client side > > functinality in my application. after the page is loaded I have manuplated > > value of the hidden field using javascript. now how will i get the changed > > value on server side. can any one let me know. I have earlier trie with by > > using sever textbox control. is this possible. > > > > Kishor > > >
VS2005 is a PIECE of Garbage and is bug Ridden
Checkbox and Javascript VS2005 DataList with Nested GridView using ObjectDataSource issues using webbrowser in a service drop down list box - client side code won't execute OnSelectedIndexChange Display an images in Datagrid Custom control that ingerits from textbox Losing Session Values gridview.boundfield.dataformatstring doesn't work Lost with User Controls |
|||||||||||||||||||||||