Telerik Forums
Community Forums Forum
0 answers
55 views
Hello,
I hope this useful:
Advanced jQuery - Turning a good app into a great app

Kind regards,
Mostafa Anoosheh
Mostafa Anoosheh
Top achievements
Rank 1
 asked on 21 Jul 2009
1 answer
131 views
Hi, Sometime I am getting following error while I changed the dropdown index(autopostback=true)..

 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.

please tell me what's the wrong with this??

here is my page code
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="MasterContentPlaceHolder">
    <telerik:RadAjaxLoadingPanel ID="LoadingPanel" runat="server">
            <img src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading7.gif") %>'
                alt="Loading..." style="border: 0;"/>
        </telerik:RadAjaxLoadingPanel>
    <telerik:RadAjaxManagerProxy ID="ajaxProxyContracts" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="tsContractCapture">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="tsContractCapture" />
                    <telerik:AjaxUpdatedControl ControlID="mpContractCapture" LoadingPanelID="LoadingPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="cmbContractType">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="tsContractCapture" />
                    <telerik:AjaxUpdatedControl ControlID="mpContractCapture" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="chkAutoRenewal">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="tsContractCapture" />
                    <telerik:AjaxUpdatedControl ControlID="mpContractCapture" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="cmbGLCountry">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="tsContractCapture" />
                    <telerik:AjaxUpdatedControl ControlID="mpContractCapture" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <telerik:RadTabStrip AutoPostBack="true" ID="tsContractCapture" OnTabClick="tsContractCapture_TabClick" runat="server" MultiPageID="mpContractCapture">
        <Tabs>
            <telerik:RadTab runat="server" Value="0" Text="General" Selected="true" >
            </telerik:RadTab>           
        </Tabs>
    </telerik:RadTabStrip>
    <telerik:RadMultiPage ID="mpContractCapture" runat="server" Width="100%">
        <telerik:RadPageView BorderColor="Gray" Selected="true" BorderStyle="Solid" BorderWidth="1" ID="pvGeneral"
            runat="server">
            <Control:General ID="ucGeneral" runat="server" />
        </telerik:RadPageView>       
    </telerik:RadMultiPage>
    <asp:HiddenField ID="hdnContractID" runat="server" Value="-1" />   
</asp:Content>


and here is my general control code..



<script type="text/javascript">
    function validateCombo(source, args) {
        args.IsValid = false;
        var combo = $find('<%= cmbCounterparty.ClientID %>');
        var text = combo.get_text();
        if (text.length < 1) {
            args.IsValid = false;
        }
        else {
            var node = combo.findItemByText(text);
            if (node) {
                var value = node.get_value();
                if (value.length > 0 && value != -1) {
                    args.IsValid = true;
                }
            }
            else {
                args.IsValid = false;
            }
        }
    }
</script>

<table width="100%" border="0" cellpadding="0" cellspacing="3">   
    <tr>
        <td align="right">
            Contract Type
        </td>
        <td width="80%">
            <telerik:RadComboBox CausesValidation="false" OnSelectedIndexChanged="cmbContractType_SelectedIndexChanged"
                ID="cmbContractType" AutoPostBack="true" runat="server" Width="250px">
                <CollapseAnimation Duration="200" Type="OutQuint" />
            </telerik:RadComboBox>

            &nbsp;
            <asp:RequiredFieldValidator Display="Dynamic" InitialValue="Select Contract Type"
                ID="reqVal_ContractType" runat="server" ControlToValidate="cmbContractType" ValidationGroup="Contract">
                <asp:Image runat="server" ID="Image2" AlternateText="*" CssClass="error_text" ImageUrl="~/images/Delete16.png" />
            </asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td align="right">
            Counterparty
        </td>
        <td width="80%">
            <telerik:RadComboBox CausesValidation="false" ID="cmbCounterparty" runat="server"
                Width="250px">
                <CollapseAnimation Duration="200" Type="OutQuint" />
            </telerik:RadComboBox>
            &nbsp;
            <asp:CustomValidator ValidationGroup="Contract" ID="CustomValidator1" runat="server"
                ClientValidationFunction="validateCombo" ControlToValidate="cmbCounterparty"
                ErrorMessage="*" OnServerValidate="CustomValidator1_ServerValidate">
                <asp:Image runat="server" ID="Image4" AlternateText="*" CssClass="error_text" ImageUrl="~/images/Delete16.png" />
            </asp:CustomValidator>
        </td>
    </tr>   
    <tr>
        <td align="right">
            Start Date
        </td>
        <td width="80%">
            <telerik:RadDatePicker ID="dpStartDate" runat="server" Width="250px">
                <Calendar runat="server" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x">
                </Calendar>
                <DatePopupButton ImageUrl="~/images/CalendarPopUp.png" HoverImageUrl="~/images/CalendarPopUp.png" />
            </telerik:RadDatePicker>
            &nbsp;
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="dpStartDate"
                ValidationGroup="Contract">
                <asp:Image runat="server" ID="Image6" AlternateText="*" CssClass="error_text" ImageUrl="~/images/Delete16.png" />
            </asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td align="right">
            End Date
        </td>
        <td width="80%">
            <telerik:RadDatePicker ID="dpEndDate" runat="server" Width="250px">
                <Calendar runat="server" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x">
                </Calendar>
                <DatePopupButton ImageUrl="~/images/CalendarPopUp.png" HoverImageUrl="~/images/CalendarPopUp.png" />
            </telerik:RadDatePicker>
        </td>
    </tr>
    <tr>
        <td align="right">
            Execution Date
        </td>
        <td width="80%">
            <telerik:RadDatePicker ID="dtExecutionDate" runat="server" Width="250px">
                <Calendar runat="server" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x">
                </Calendar>
                <DatePopupButton ImageUrl="~/images/CalendarPopUp.png" HoverImageUrl="~/images/CalendarPopUp.png" />
            </telerik:RadDatePicker>
            &nbsp;
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="dtExecutionDate"
                ValidationGroup="Contract">
                <asp:Image runat="server" ID="Image7" AlternateText="*" CssClass="error_text" ImageUrl="~/images/Delete16.png" />
            </asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td width="100%" colspan="2">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td>
                        <table border="0" cellpadding="0" cellspacing="2" width="100%">
                            <tr>
                                <td width="20%" align="right">
                                    <asp:CheckBox AutoPostBack="true" OnCheckedChanged="chkAutoRenewal_CheckedChanged"
                                        ID="chkAutoRenewal" Text="Auto-Renewal" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td width="20%" align="right">
                                    Renewal Terms
                                </td>
                                <td width="80%">
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td>
                                                <telerik:RadNumericTextBox CausesValidation="false" Enabled="false" ID="ntxtCounter"
                                                    runat="server" ShowSpinButtons="True" MinValue="0" Value="1.00">
                                                    <NumberFormat DecimalDigits="0" />
                                                </telerik:RadNumericTextBox>
                                                &nbsp;
                                                <asp:RequiredFieldValidator Display="Dynamic" InitialValue="0" ID="req_ntxtCounter"
                                                    runat="server" ControlToValidate="ntxtCounter" ValidationGroup="Contract">
                                                    <asp:Image runat="server" ID="Image8" AlternateText="*" CssClass="error_text" ImageUrl="~/images/Delete16.png" />
                                                    &nbsp;</asp:RequiredFieldValidator>
                                            </td>
                                            <td>
                                                <telerik:RadComboBox ID="cmbPeriod" Enabled="false" runat="server">
                                                    <Items>
                                                        <telerik:RadComboBoxItem runat="server" Text="Day(s)" Value="Day(s)" />
                                                        <telerik:RadComboBoxItem runat="server" Text="Week(s)" Value="Week(s)" />
                                                        <telerik:RadComboBoxItem runat="server" Text="Month(s)" Value="Month(s)" />
                                                        <telerik:RadComboBoxItem runat="server" Text="Year(s)" Value="Year(s)" />
                                                    </Items>
                                                    <CollapseAnimation Duration="200" Type="OutQuint" />
                                                </telerik:RadComboBox>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td width="20%" align="right">
                                    Renewal Reminder
                                </td>
                                <td>
                                    <telerik:RadNumericTextBox Enabled="false" ID="ntxtRenewalReminder" runat="server"
                                        ShowSpinButtons="True" MinValue="0" Value="1.00">
                                        <NumberFormat DecimalDigits="0" />
                                    </telerik:RadNumericTextBox>
                                    &nbsp;
                                    <asp:RequiredFieldValidator Display="Dynamic" InitialValue="0" ID="req_RenewalReminder"
                                        runat="server" ControlToValidate="ntxtRenewalReminder" ValidationGroup="Contract">
                                        <asp:Image runat="server" ID="Image9" AlternateText="*" CssClass="error_text" ImageUrl="~/images/Delete16.png" />
                                        &nbsp;</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td width="20%" align="right">
                                    Early Termination
                                </td>
                                <td>
                                    <telerik:RadNumericTextBox ID="ntxtEarlyTermination" runat="server" ShowSpinButtons="true"
                                        MinValue="0" Value="1.00">
                                        <NumberFormat DecimalDigits="0" />
                                    </telerik:RadNumericTextBox>
                                    &nbsp;
                                    <asp:RequiredFieldValidator Display="Dynamic" InitialValue="0" ID="req_EarlyTermination"
                                        runat="server" ControlToValidate="ntxtEarlyTermination" ValidationGroup="Contract">
                                        <asp:Image runat="server" ID="Image10" AlternateText="*" CssClass="error_text" ImageUrl="~/images/Delete16.png" />
                                        &nbsp;</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td width="20%" align="right">
                                    Governing Law
                                </td>
                                <td>
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td>
                                                <telerik:RadComboBox ID="cmbGLCountry" runat="server" Width="150px" OnSelectedIndexChanged="cmbGLCountry_SelectedIndexChanged"
                                                    AutoPostBack="True" CausesValidation="False">
                                                    <CollapseAnimation Duration="200" Type="OutQuint" />
                                                </telerik:RadComboBox>

                                                <asp:RequiredFieldValidator Display="Dynamic" InitialValue="Select Country" ID="RequiredFieldValidator5"
                                                    runat="server" ControlToValidate="cmbGLCountry" ValidationGroup="Contract">
                                                    &nbsp;<asp:Image runat="server" ID="Image11" AlternateText="*" CssClass="error_text"
                                                        ImageUrl="~/images/Delete16.png" />
                                                    &nbsp;</asp:RequiredFieldValidator>
                                            </td>
                                            <td style="padding-left: 3px;">
                                                <telerik:RadComboBox ID="cmbGLStats" runat="server" Width="150px">
                                                    <CollapseAnimation Duration="200" Type="OutQuint" />
                                                </telerik:RadComboBox>
                                                &nbsp;
                                                <asp:RequiredFieldValidator Display="Dynamic" InitialValue="Select State/Province"
                                                    ID="RequiredFieldValidator6" runat="server" ControlToValidate="cmbGLStats" ValidationGroup="Contract">
                                                    <asp:Image runat="server" ID="Image12" AlternateText="*" CssClass="error_text" ImageUrl="~/images/Delete16.png" />
                                                </asp:RequiredFieldValidator>
                                                <asp:RequiredFieldValidator Display="Dynamic" InitialValue="" ID="RequiredFieldValidator7"
                                                    runat="server" ControlToValidate="cmbGLStats" ValidationGroup="Contract">
                                                    <asp:Image runat="server" ID="Image13" AlternateText="*" CssClass="error_text" ImageUrl="~/images/Delete16.png" />
                                                </asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td width="20%" valign="middle" align="right">
                                    Geographic Scope
                                </td>
                                <td valign="top">
                                    <uc1:TerritoryPicker ID="ucTerritoryPicker" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td align="right" width="20%">
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Button ID="btnSaveContract" ValidationGroup="Contract" runat="server" OnClick="btnSaveContract_Click"
                                        CommandName="Save" Text="Save" Width="100px" CausesValidation="true" />&nbsp;<asp:Button
                                            CommandName="SaveExit" ID="btnSaveContractAndExit" ValidationGroup="Contract"
                                            runat="server" OnClick="btnSaveContract_Click" Text="Save & Exit" Width="100px"
                                            CausesValidation="true" /><asp:Button Style="margin-left: 4px;" ID="btnActivate"
                                                ValidationGroup="Contract" runat="server" OnClick="btnActivate_Click" Text="Active"
                                                Width="100px" CausesValidation="true" />&nbsp;<asp:Button OnClick="btnCancelContract_Click"
                                                    CausesValidation="false" ID="btnCancelContract" runat="server" Text="Exit" Width="100px" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>

Please help
Sebastian
Telerik team
 answered on 20 Jul 2009
1 answer
200 views
Here is my page code:

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="MasterContentPlaceHolder">
    <telerik:RadAjaxLoadingPanel ID="LoadingPanel" runat="server">
            <img src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading7.gif") %>'
                alt="Loading..." style="border: 0;"/>
        </telerik:RadAjaxLoadingPanel>
    <telerik:RadAjaxManagerProxy ID="ajaxProxyContracts" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="tsContractCapture">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="tsContractCapture" />
                    <telerik:AjaxUpdatedControl ControlID="mpContractCapture" LoadingPanelID="LoadingPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>           
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <telerik:RadTabStrip AutoPostBack="true" ID="tsContractCapture" OnTabClick="tsContractCapture_TabClick" runat="server" MultiPageID="mpContractCapture">
        <Tabs>
            <telerik:RadTab runat="server" Value="0" Text="General" Selected="true" PageViewID="pvGeneral">
            </telerik:RadTab>           
            <telerik:RadTab runat="server" Value="2" Text="Performance" Visible="false" PageViewID="pvPerformance">
            </telerik:RadTab>         
        </Tabs>
    </telerik:RadTabStrip>
    <asp:HiddenField ID="hdnContractID" runat="server" Value="-1" />
    <telerik:RadMultiPage ID="mpContractCapture" runat="server" Width="100%">
        <telerik:RadPageView BorderColor="Gray" Selected="true" BorderStyle="Solid" BorderWidth="1" ID="pvGeneral"
            runat="server">
            <Control:General ID="ucGeneral" runat="server" />
        </telerik:RadPageView>      
        <telerik:RadPageView ID="pvPerformance" runat="server">
            <Control:Performance ID="ucPerformance" runat="server" />
        </telerik:RadPageView>
     
    </telerik:RadMultiPage>
</asp:Content>

here is my performance user control(just only rad grid).

<telerik:RadGrid ID="dgPerformanceComponent" runat="server" >   
</telerik:RadGrid>


I am receiving following error..Any suggestionss???
 Error: Sys.ArgumentException: Value must not be null for Controls and Behaviors. Parameter name: element
pratik
Top achievements
Rank 1
 answered on 11 Jul 2009
0 answers
60 views
Hello,
I hope this useful Migrating firefox 3.0.11 Add-on into firefox 3.5

Kind regards,
Mostafa Anoosheh
Mostafa Anoosheh
Top achievements
Rank 1
 asked on 11 Jul 2009
0 answers
68 views
Hello,
I hope this useful: 15 jQuery Plugins to Fix and Beautify Browser Issues

Kind regards,
Mostafa Anoosheh
Mostafa Anoosheh
Top achievements
Rank 1
 asked on 11 Jul 2009
0 answers
112 views
Here is my page code..

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="MasterContentPlaceHolder">   
    <telerik:RadAjaxManagerProxy ID="ajaxProxyContracts" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="tsContractCapture">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="tsContractCapture" />
                    <telerik:AjaxUpdatedControl ControlID="mpContractCapture" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <telerik:RadTabStrip ID="tsContractCapture" runat="server" MultiPageID="mpContractCapture">
        <Tabs>
            <telerik:RadTab runat="server" Text="General" Selected="true" PageViewID="pvGeneral">
            </telerik:RadTab>           
        </Tabs>
    </telerik:RadTabStrip>
    <asp:HiddenField ID="hdnContractID" runat="server" Value="-1" />
    <telerik:RadMultiPage ID="mpContractCapture" runat="server" Width="100%">
        <telerik:RadPageView BorderColor="Gray" Selected="true" BorderStyle="Solid" BorderWidth="1" ID="pvGeneral"
            runat="server">
            <Control:General ID="ucGeneral" runat="server" />
        </telerik:RadPageView>
      
    </telerik:RadMultiPage>
</asp:Content>


Here is my UserControl Code:


<script type="text/javascript">
    function validateCombo(source, args) {
        args.IsValid = false;
        var combo = $find('<%= cmbCounterparty.ClientID %>');
        var text = combo.get_text();
        if (text.length < 1) {
            args.IsValid = false;
        }
        else {
            var node = combo.findItemByText(text);
            if (node) {
                var value = node.get_value();
                if (value.length > 0 && value != -1) {
                    args.IsValid = true;
                }
            }
            else {
                args.IsValid = false;
            }
        }
    }
</script>

<table width="100%" border="0" cellpadding="0" cellspacing="3">
    <tr>
        <td align="right">
            Title
        </td>
        <td width="80%">
            <telerik:RadTextBox  ValidationGroup="Contract" CausesValidation="false" ID="txtTitle"
                runat="server" Width="500px">
            </telerik:RadTextBox>
            <asp:RequiredFieldValidator ID="reqVal_FirstName" runat="server" ControlToValidate="txtTitle"
                ValidationGroup="Contract">
                <asp:Image runat="server" ID="imgError1" AlternateText="*" CssClass="error_text"
                    ImageUrl="~/images/Delete16.png" />
            </asp:RequiredFieldValidator>
        </td>
    </tr>   
    <tr>
        <td align="right">
            Contract Type
        </td>
        <td width="80%">
            <telerik:RadComboBox CausesValidation="false" OnSelectedIndexChanged="cmbContractType_SelectedIndexChanged"
                ID="cmbContractType" AutoPostBack="true" runat="server" Width="250px">
                <CollapseAnimation Duration="200" Type="OutQuint" />
            </telerik:RadComboBox>
            &nbsp;
            <asp:RequiredFieldValidator Display="Dynamic" InitialValue="Select Contract Type"
                ID="reqVal_ContractType" runat="server" ControlToValidate="cmbContractType" ValidationGroup="Contract">
                <asp:Image runat="server" ID="Image2" AlternateText="*" CssClass="error_text" ImageUrl="~/images/Delete16.png" />
            </asp:RequiredFieldValidator>
        </td>
    </tr>

<tr>
        <td align="right">
            Counterparty
        </td>
        <td width="80%">
            <telerik:RadComboBox CausesValidation="false" ID="cmbCounterparty" runat="server"
                Width="250px">
                <CollapseAnimation Duration="200" Type="OutQuint" />
            </telerik:RadComboBox>
            &nbsp;
            <asp:CustomValidator ValidationGroup="Contract" ID="CustomValidator1" runat="server"
                ClientValidationFunction="validateCombo" ControlToValidate="cmbCounterparty"
                ErrorMessage="*" OnServerValidate="CustomValidator1_ServerValidate">
                <asp:Image runat="server" ID="Image4" AlternateText="*" CssClass="error_text" ImageUrl="~/images/Delete16.png" />
            </asp:CustomValidator>
        </td>
    </tr>
</table>

Please suggest
pratik
Top achievements
Rank 1
 asked on 10 Jul 2009
2 answers
208 views
Hi,
    I wrote following code, but when postback occurs(like dropdown index change), loading panel doesn't display... why??

<telerik:radajaxloadingpanel id="LoadingPanel" runat="server" transparency="20" mindisplaytime="300"
            backcolor="Transparent">
        <img src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading6.gif") %>'
            alt="Loading..." style="border: 0; margin-top: 40px;" />
    </telerik:radajaxloadingpanel>
    <telerik:radajaxmanagerproxy ID="ajaxProxyContracts" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="tsContractCapture">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="tsContractCapture" />
                    <telerik:AjaxUpdatedControl ControlID="mpContractCapture" LoadingPanelID="LoadingPanel" />

                </UpdatedControls>
            </telerik:AjaxSetting>            
        </AjaxSettings>
    </telerik:radajaxmanagerproxy>
    <telerik:RadTabStrip ID="tsContractCapture" runat="server" MultiPageID="mpContractCapture">
        <Tabs>
            <telerik:RadTab runat="server" Text="General" Selected="true">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="Compilance">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="Performance">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="Documents">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="Comments">
            </telerik:RadTab>
        </Tabs>
    </telerik:RadTabStrip>
    <telerik:RadMultiPage ID="mpContractCapture" runat="server" Width="100%">
        <telerik:RadPageView BorderColor="Gray" BorderStyle="Solid" BorderWidth="1" ID="pvGeneral"
            runat="server" Selected="true">
          <telerik:RadComboBox CausesValidation="false" OnSelectedIndexChanged="cmbContractType_SelectedIndexChanged"
                            ID="cmbContractType" AutoPostBack="true" runat="server" Width="250px">
                            <CollapseAnimation Duration="200" Type="OutQuint" />
                        </telerik:RadComboBox>

</telerik:RadPageView>
</telerik:RadMultiPage>

</telerik:RadMultiPage>
pratik
Top achievements
Rank 1
 answered on 10 Jul 2009
0 answers
95 views
Hi,

I post an example of extended function for JQuery embeded in Telrik RadControl.

Before you must add in your marster page or page the declaration of JQuery like this:
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePageMethods="true"
        <Scripts> 
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> 
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> 
        </Scripts> 
    </telerik:RadScriptManager> 

After this, you add the reference the javascript file in the ScriptManger.
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePageMethods="true"
        <Scripts> 
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> 
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> 
            <asp:ScriptReference Path="~/jquery.json-1.3.js" /> 
        </Scripts> 
    </telerik:RadScriptManager> 
You can donwload this script at this link

Then remane the variable "$" in the script by "$telerik.$".

Now you can add extended function to JQuery.


Stephane
Top achievements
Rank 1
 asked on 09 Jul 2009
2 answers
105 views

Where can I find RadComboBoxContext and RadComboBoxData classes?

Refering to this example: http://www.telerik.com/help/aspnet-ajax/combobox-loading-items-from-wcf-service.html

They don't exist in the Telerik.Web.UI.dll assembly apparently.

Any help is much appreciated.

 

 

 

 

Paul
Telerik team
 answered on 07 Jul 2009
0 answers
123 views
See what's new and download from your accounts.

Enjoy!

Telerik Team
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 06 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?