Ask a Question related to ASP.NET General, Design and Development.
-
John #1
Hyperlinks and viewstate
Hi all,
My app contains a datagrid with hyperlinks inside and these hyperlinks all
point back to the same page. The problem is that I have a 'search' user
control and the viewstate changes once the hyperlink has been clicked,
causing the Page_Load event of my user control to fire (which is what I
don't want). Is there any way to structure the hyperlink such that the
viewstate of my other user controls on the page do not change? If so, how do
I do this? If not, what other method could I use?
Regards
John.
John Guest
-
Failed to load viewstate. The control tree into which viewstate...
Hi to all, I have a webform.aspx and inside i have a dropdown list with autopostback and a place holder... Depending of the selected index... -
Viewstate errors... how do I get viewstate working?
Hi all, Have to say I can't for the life of me get this viewstate business working with collections of classes! The current error I'm getting... -
Help on hyperlinks
Hi folks, I'm running Windows 98 SE and using Microsoft Publisher 2000 to create my web site. I've got a mystery! I keep loosing the links I... -
Please help with hyperlinks
I'm having a hell of a time with what is probably has real simple solution, When I right click on a text box with a hyperlink in it I cannot get... -
hyperlinks from db
Monty: Put the destination of the link in the database as a text field. Load the href part of the <a> tag with the text retrieved from the... -
David Waz... #2
Re: Hyperlinks and viewstate
Page_Load ALWAYS fires, reglardless of how you get to a page, user control
or custom control.
If you use an ASP:LinkButton control instead of an html hyperlink, I think
your problems may be fixed...
"John" <a@b.com> wrote in message
news:OWxhYP0QDHA.2036@TK2MSFTNGP10.phx.gbl...do> Hi all,
>
> My app contains a datagrid with hyperlinks inside and these hyperlinks all
> point back to the same page. The problem is that I have a 'search' user
> control and the viewstate changes once the hyperlink has been clicked,
> causing the Page_Load event of my user control to fire (which is what I
> don't want). Is there any way to structure the hyperlink such that the
> viewstate of my other user controls on the page do not change? If so, how> I do this? If not, what other method could I use?
>
> Regards
> John.
>
>
David Waz... Guest



Reply With Quote

