or
<
telerik:RadWindowManager
ID
=
"rWinManager"
runat
=
"server"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"rWinResult"
runat
=
"server"
OnClientActivate
=
"WindowOnClientActivate"
Width
=
"350"
Behaviors
=
"Close"
>
<
ContentTemplate
>
<!--This is the main content that needs to work only with ajax.-->
</
ContentTemplate
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
<
asp:UpdatePanel
ID
=
"MyUpdatePanel"
runat
=
"server"
UpdateMode
=
"Always"
>
<
ContentTemplate
>
<!--poting in a table will make the controls aligned.. it was not.-->
<
table
>
<
tr
>
<
td
><
telerik:RadTextBox
ID
=
"TxtSearch"
runat
=
"server"
Width
=
"200"
></
telerik:RadTextBox
></
td
>
<
td
>
<
telerik:RadButton
ID
=
"BtnSearch"
runat
=
"server"
OnClick
=
"BtnSearch_Click"
>
<
Icon
PrimaryIconCssClass
=
"rbSearch"
/>
</
telerik:RadButton
>
</
td
>
<
td
>
<
asp:UpdateProgress
ID
=
"MyUpdateProgress"
runat
=
"server"
AssociatedUpdatePanelID
=
"MyUpdatePanel"
>
<
ProgressTemplate
>
<
span
style
=
"color:Gray;font-size:10px;"
>
Loading...
</
span
>
</
ProgressTemplate
>
</
asp:UpdateProgress
>
</
td
>
</
tr
>
</
table
>
<
telerik:RadTreeView
ID
=
"rtvResult"
runat
=
"server"
DataFieldID
=
"Key"
DataValueField
=
"Key"
DataTextField
=
"DisplayValue"
></
telerik:RadTreeView
>
</
ContentTemplate
>
</
asp:UpdatePanel
>
Cannot unregister UpdatePanel with ID 'MyUpdatePanel' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported.
Parameter name: updatePanel
public static void ShowDocumentDialog(RadDialogOpener rdo, string sFolders, string sExts, string sClientCallbackFunction, int iMaxUploadFileSize)
{
string[] aFolder = sFolders.Split(',');
FileManagerDialogParameters documentManagerParameters = new FileManagerDialogParameters();
documentManagerParameters.ViewPaths = aFolder;
documentManagerParameters.UploadPaths = aFolder;
documentManagerParameters.DeletePaths = aFolder;
documentManagerParameters.MaxUploadFileSize = iMaxUploadFileSize;
if (!string.IsNullOrEmpty(sExts))
documentManagerParameters.SearchPatterns = sExts.Split(','); //{ "*.doc", "*.docx", "*.pdf", "*.xls", "*.xlsx", "*.ppt", "*.pptx", "*.zip", "*.rar", "*.txt" };
DialogDefinition documentManager = new DialogDefinition(typeof(DocumentManagerDialog), documentManagerParameters);
documentManager.ClientCallbackFunction = sClientCallbackFunction;
documentManager.Width = Unit.Pixel(694);
documentManager.Height = Unit.Pixel(440);
// Remove it if exist
if (rdo.DialogDefinitions.ContainsKey("DocumentManager"))
rdo.DialogDefinitions.Remove("DocumentManager");
rdo.DialogDefinitions.Add("DocumentManager", documentManager);
}
<
rad:RadNumericTextBox
ID
=
"radNumQty"
runat
=
"server"
CssClass
=
"txtbox"
Width
=
"40px"
IncrementSettings-Step
=
"1"
MinValue
=
"1"
MaxValue
=
"9999999"
MaxLength
=
"7"
NumberFormat-DecimalDigits
=
"0"
ClientEvents-OnValueChanging
=
"clientUpsellChanges"
>
</
rad:RadNumericTextBox
>
if
(intQtyError != 0) {
// Toggle css on field with error
var
radQtyBox = $find(arrExtraItemFields[0]);
radQtyBox.TextBoxElement.className =
"txtboxerror"
;
}
Hey all, Im using the telerik radscheduler with a custom provider. In my custom provider, I have a number of custom resources that I want to expose on the advanced edit form. My question is how do I bind the controls on the form to the resources??
Any assistance is appreciated.