Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I'm pretty new to ASP.NET so maybe this question is dumb bit here it goes.

I'm using an DropDownList control on my aspx file that is linked to an master page. My question is: Is it posible not to load master page elements every time I do a postback with my DDList control? So I want to reload only my aspx file that is within my master page, but no my masterpage as well

Posted
Are you wanting to effectively keep the contents of the drop down list constant between postbacks and maintain the selected item?

 

No, the situation is like this... I have an master page on which I have some toolbars and a banner. And I have a regular aspx page that is linked to the master page. On that page I have an sql data source and a formview... and when I go through my records via FormView, my master page also reloads, and my banner and sidebar reloads all over again, and I want to prevent that.

Posted
No, the situation is like this... I have an master page on which I have some toolbars and a banner. And I have a regular aspx page that is linked to the master page. On that page I have an sql data source and a formview... and when I go through my records via FormView, my master page also reloads, and my banner and sidebar reloads all over again, and I want to prevent that.

 

 

So no one can help me with this? Could you please tell me if what I wanna do is possible or I need to find another way around it?

Posted
Easiest way might be to look at the Ajax toolkit and simply put the formview in an update panel.

 

O, thank you, I'll take a look at it ;)

Just one quick question... I have installed AJAX toolkit to my computer, but do I have to install anything to my server machine that will run AJAX powered page?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...