1. tried: RadAjaxManager1.ResponseScripts.Add(
string.Format("window.{0}.Clear(); ", startDate.ClientID));
2.
function ClearDate()
{window[
'<%= startDate.ClientID %>'].DateInput.Clear();
//window['<%= startDate.ClientID %>'].clear();
}
I dont want to use the button/hyperlink to clear the datesHere is what I want to do:
When I (right) click on a date in the calendar control, I want a context menu to appear. From the context menu, I want to select a menu item, and send the value from the menu item and the date back to the server.
The problem I am having is to display the menu when I (right) click a date. So far I have tried to solve this by client side code, but to no success.
Is there anybody who could make a skeleton of a page which accomplishes what I want?
- Thorgeir
I have a page that has three radgrids on it. When I first come into a page I have two dropowns and a textbox that collect data from the user and a button that executes a search. I do not want any of the grids to load until I have clicked the execute button and then I want one of the grids to load. Everything works fine, but when I add
ClientEvents OnCommand="RaiseCommand"
to any of the grids client settings, the grid that this has been added to tries to load on page_load before I have collected any data or clicked the button, which causes an error becuase there is no data for the grid.
Is there a way to stop this automatic grid loading when using the clientevents oncommand.
Thank you.
Aaron