Hello all experts,
This may be a stupid question but please help me because of me being bit naive in jQuery.
On my asp.net page, I have
All necessary references to jQuery library
Asp.net treeview
Two combo boxes
One asp.net button
The process is: When the user clicks on the button, the code behind utilises the selected value of the two combo boxes to call the database and then return a datatable of which the records will then be populated in the treeview.
In a normal scenario, doing a postback on button click, this works fine.
What I am doing is using jQuery AJAX call ($.ajax) to call the same page with the POST method and passing the combo boxes value as query strings.
Everything happens at the code behind and the database returns the required records. The code behind code does execute populating the treeview, but, in the front end, this is not shown at the end of the AJAX call.
Can anyone please shed some light?
Thanks.
Regards,
Nayan