
ClientEvents-OnRequestStart="conditionalPostback" and I have added some js
function conditionalPostback(sender, e) {
var uploadButton = new RegExp("\.btnInsertStolenItem$", "ig");
// var upload = $find(window['radUploadImages']);
//var upload = $find('<%=radUploadImages.ClientID %>');
if (e.get_eventTarget().match(uploadButton)) {
// if (upload.getFileInputs()[0].value != "") {
e.set_enableAjax(
false);
// }
}
}
My problem is with my var upload. My aspx cant find radUploadImages (which I understand as it hasn't been loaded yet :)) however I dont know what to change to only set the var if the usercontrol has been loaded....
Hope this makes sense as I am really stuck.
If anyone could provide help I would be most grateful.
function
ExpandFirstDetailTableFirstItem()
{
$find(
"<%= RadGrid1.Items[0].ChildItem.NestedTableViews[0].ClientID %>").expandItem(0);
}
function CollapseFirstDetailTableFirstItem()
{
$find(
"<%= RadGrid1.Items[0].ChildItem.NestedTableViews[0].ClientID %>").collapseItem(0);
}
I am looking following example on button click and and not on page load so tha NeedDatasource event is called after button click event is fired.
regards,
Parimal
| // document.getElementById("RadMultiPage1").getAttribute("style").background=document.getElementById("RadFormDecorator1").currentStyle.scrollbarTrackColor; // |
document.getElementById(
"Form1").currentStyle.[color property....]
Thank's a lot for your help
Hi
In the previous version of RadEditor it was possible to use a config file. Like this: ConfigFile="~/RadControls/Editor/ConfigFile.xml"
I can’t get this to work with the Q2 version. Is it still possible to use a config file or use web.config to set max upload file size, valid suffix and upload paths etc?

| <div> |
| <telerik:RadDatePicker ID="dateHoldDate" Runat="server" AutoPostBack="false" MinDate="01/01/1900" Width="100" Skin="Office2007" CssClass="Calendar" Calendar-TitleStyle-CssClass="CalendarTitle" Calendar-HeaderStyle-CssClass="CalendarHeader" DateInput-CssClass="CalendarInput" Calendar-ShowRowHeaders="false" /> |
| </div> |
| <div> |
| <telerik:RadDatePicker ID="dateAssignedDate" Runat="server" MinDate="01/01/1900" Width="100" Skin="Office2007" CssClass="Calendar" Calendar-TitleStyle-CssClass="CalendarTitle" Calendar-HeaderStyle-CssClass="CalendarHeader" DateInput-CssClass="CalendarInput" Calendar-ShowRowHeaders="false" /> |
| </div> |
