I am new to .net developement..stuck with an issue..
I have 2 grids in a page...Maingrid( key:- EmpID) and a Childgrid (key:- EmpID,PeriodID)
For Each Maingrid details there will be one or more corresponding Childgrid details. When user selects a Maingrid detail record (ie, when selecting a row), corresponding Childgrid detail will be loaded in the Childgrid …(same as dependent grid.)
How to load the 2nd grid according to the 1st grid row selection?
protectedvoid rdg_Maingrid_ItemCommand1(object source, GridCommandEventArgs e)
if (e.CommandName.ToString().ToUpper() == "RowClick")
//code for retrieving corresponding data in the budget grid..
and I have delete ,edit options in both the grids.
Anyhelp will be appreciated.
I have a detailsview with a checkbox. This checkbox´s state should be determined from a ObjectDataSource which "fills" the detailsview. And, if the checkbox´s state is changed by the user, the ObjectDataSource´s UpdateMethod should of course save this new state.
Problem is, that i dont know how to bind this checfield, since the 'Checked' attribute only takes true/false, and my data is in xml. Therefore i only have "true"/"false" data as strings.
So how do i bind this checkbox state? And save the new state when the user changes it?
But it did not solve my problem.
With this solution, i can DISPLAY the correct data (if the box are checked or not). But when the user updates the data (changes the checked state), the ObjectDataSource´s UpdateMethod sees the field as null.
Is there a workaround on this?
I have an issue relating to AJAX . I have an AJAX enabled webform where I have various controls and one button among them requires to open a new page (.asp) which should have all the controls of the source page.
I have achived this functionality. but after a new page opens in new window, my source window started giving error on any control change. THe exact Error Message is:
Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled
One scenario I can understand is, I have used
window.document.formrs.action = "Test.aspx"; // New Page in New Window
window.document.formrs.target = "_blank";
when going to new page, and when returning, it is set back to
After the huge success of the Windows Azure Virtual Boot Camp I and II, here comes… Virtual Boot Camp III Learn Windows Azure at your own pace, in your own time and without travel headaches.
Windows Azure one week pass is provided so you can put Windows Azure and SQL Azure through their paces. NO credit card required.
You can start the Boot Camp any time during May 3rd and May 10th and work at your own pace.
The Windows Azure virtual boot camp pass is valid from 5am USA PST May 3rd through 6pm USA PST May 10th
More information at http://blogs.technet.com/webtech/archive/2010/04/26/windows-azure-one-week-virtual-boot-camp.aspx[^]