I have set up a custom attribute "CustNo" on the standard AdvancedFormVB.ascx to hold a customer number. This is all working perfectly, and anything I type into this custom attribute's textbox is correctly saving to the database along with the appointment information, and is later being retrieved correctly when I reopen the appointment.
I am opening a RadWindow from a button on my AdvanceFormVB.ascx so that my users can create a customer record.
From my RadWindow's code behind I am:
1. Saving the newly created customer record to my database.
2. Storing the ID (Customer Number) of the newly created record in to a session variable.
3. Calling a clientside javascript function to close the Radwindow.
I have been able to verify from a javascript alert window that after the RadWindow closes my session variable still contains the correct ID (Customer Number).
What I would like to be able to do is, when the RadWindow closes,
1. put this ID straight into the "CustNo" Attribute Textbox of the still open AdvancedForm.
2. Call a refresh/postback of the AdvancedFormVB so that I can do some additional display stuff.
I'm assuming that populating the custom attribute textbox and calling a postback on the AdvancedForm must be done using javascript/jquery? But I'm a javascript/jquery newbie and have no idea how to go about it.