| | |
Ajax post back problem when using GridView with Object Data Source
Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Apr 2008
Posts: 1
Reputation:
Solved Threads: 0
Hi,
I have a list page which contains few drop down lists and text boxes used for filter and a gridview. The user enters the filter criteria and then clicks on "Search" button, gridview gets loaded based on search criteria and displays it.
I am using object data source with gridview. I have put all filter criteria in one update panel and the gridview in another as i wanted to avoid loading of gridview data each time the drop down list is changed.
But this is not happening! Each time the dropdownlist is changed, post back is happening, then object associated with object data source is getting called and gridview is loaded which takes lot of time.
How can i avoid this unnecessary loading? Note that the drop down lists are depended on each other such as the items of child drop down list is determined based on it's parent selection.so parent changes, child is reloaded.
Pleases suggest me!
Thanks,
cpd
I have a list page which contains few drop down lists and text boxes used for filter and a gridview. The user enters the filter criteria and then clicks on "Search" button, gridview gets loaded based on search criteria and displays it.
I am using object data source with gridview. I have put all filter criteria in one update panel and the gridview in another as i wanted to avoid loading of gridview data each time the drop down list is changed.
But this is not happening! Each time the dropdownlist is changed, post back is happening, then object associated with object data source is getting called and gridview is loaded which takes lot of time.
How can i avoid this unnecessary loading? Note that the drop down lists are depended on each other such as the items of child drop down list is determined based on it's parent selection.so parent changes, child is reloaded.
Pleases suggest me!
Thanks,
cpd
![]() |
Similar Threads
- Problem while Inserting and Updating data into MS access (VB.NET)
- Connection to server lost due to multiple ajax post requests (JavaScript / DHTML / AJAX)
- invalid data source error in my thesis project (Visual Basic 4 / 5 / 6)
- Problem with GridView (C#)
- How to bind a value in GridView to other data? (ASP.NET)
- chinese post man problem (IT Professionals' Lounge)
- Maintain control Values after PostBack (ASP.NET)
- Adding Controls Dynamically (URGENT) (ASP.NET)
- Hijack Log - winlogon.exe - Help ! (Viruses, Spyware and other Nasties)
Other Threads in the ASP.NET Forum
- Previous Thread: ASP.NET with C#
- Next Thread: Building a forum
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol ajax alltypeofvideos asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer c# c#gridviewcolumn cac checkbox class commonfunctions compatible confirmationcodegeneration content contenttype countryselector courier dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deployment development dgv dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol fileuploader fill findcontrol flash flv formatdecimal forms formview gridview gudi homeedition iis javascript jquery listbox menu microsoft mouse mssql nameisnotdeclared news opera panelmasterpagebuttoncontrols problem redirect registration relationaldatabases reportemail schoolproject security serializesmo.table sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl textbox tracking treeview unauthorized validatedate validation vb.net video videos vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webdevelopment webprogramming webservice youareanotmemberofthedebuggerusers






