Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
116 views

Greetings,

I am new to Telerik (pretty new to asp.net) and cannot figure out why my AXAX CascadingDropDown events do not fire when I wire them up to control my RadAjaxLoadingPanel. The LoadingPanel updates but no SelectedIndexChanged event is call.

My code works when I disable/remove theRadAjaxLoadingPanel
 
I looked all over for the CascadingDropDown example but no success. I saw that I might need to rebind, but I'm not sure what I'm looking for to do this? Thanks

ASPX Page

<form id="frm1" runat="server" class="" enableviewstate="true">
 
<telerik:RadScriptManager runat="server" ID="RadScriptManager1">
    </telerik:RadScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1"
        EnablePageHeadUpdate="False" ViewStateMode="Enabled">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="auto_ddlMake">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="auto_ddlModel">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="lnkReset" EventName="Click">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
 
<asp:DropDownList ID="auto_ddlMake" runat="server" AutoPostBack="True" class="itext"
                        OnSelectedIndexChanged="auto_ddlMake_SelectedIndexChanged" Width="125px" />
                    <ajaxToolkit:CascadingDropDown ID="CascadingDropDown1" runat="server" Category="Make"
                        ParentControlID="auto_ddlYear" PromptText="-- Pick --" ServiceMethod="GetMakes"
                        ServicePath="CascadingDropDown.asmx" TargetControlID="auto_ddlMake" />
 
<asp:DropDownList ID="auto_ddlModel" runat="server" AutoPostBack="True" class="itext"
                        OnSelectedIndexChanged="auto_ddlModel_SelectedIndexChanged" Width="125px" />
                    <ajaxToolkit:CascadingDropDown ID="CascadingDropDown2" runat="server" Category="Model"
                        ParentControlID="auto_ddlMake" PromptText="-- Pick --" ServiceMethod="GetModels"
                        ServicePath="CascadingDropDown.asmx" TargetControlID="auto_ddlModel" />
<asp:LinkButton ID="lnkReset" runat="server" CausesValidation="False" OnClick="btnReset_Click"
                        Text="Reset" ToolTip="Clear all fields"></asp:LinkButton>
 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" ViewStateMode="Enabled">
        <div class="loading">
            Loading<br />
            <asp:Image ID="Image1" runat="server" ImageUrl="~/images/loading1.gif" AlternateText="loading">
            </asp:Image>
        </div>
    </telerik:RadAjaxLoadingPanel>
</form>

Codebehind

protected void auto_ddlModel_SelectedIndexChanged(object sender, System.EventArgs e)
    {
        Response.Write("ddlmodel Called!");
        Response.End();
    }

 

Pavlina
Telerik team
 answered on 23 Nov 2012
3 answers
110 views
We've encountered an unusual problem where sometimes if multiple tabs have been opened and closed (with pageviews being destroyed etc) that some tabs seem to "swap" their text.

All tabs definitely have a unique ID (based on record type, record id etc).

Also, possibly related, sometimes a tab will display the pageview from another tab at the bottom.
This is not a problem we can reproduce via set steps, it just seems to randomly happen.

Has anyone else encountered this? Any ideas on a possible solution?

Cheers
Rich
Nencho
Telerik team
 answered on 23 Nov 2012
9 answers
166 views
I try to combine the example "TreeView in ComboBox" and "TreeView / Programmatic Data Binding"
I use "BindToDataSet(ByVal treeView As RadTreeView)", but i only get  System.NullReferenceException.
Tips on what the problem might be, or is there any example (vb) available?
Boyan Dimitrov
Telerik team
 answered on 23 Nov 2012
0 answers
106 views
I think I know the answer already but I have a TreeView with a Node Template in it, can I save it somehow with GetXML? Failing that can anyone suggest a workaround.

Definition of RadTreeView
<telerik:RadTreeView ID="RadTreeView1" runat="server" CheckBoxes="True" MultipleSelect="True"
     EnableViewState="true" ShowLineImages="False" EnableEmbeddedSkins="False" Skin="tree_2"
     OnNodeClick="RadTreeView1_NodeClick" OnNodeDataBound="RadTreeView1_NodeDataBound"
     OnClientNodeCollapsed="OnClientNodeCollapsed" OnClientNodeExpanded="OnClientNodeExpanded">
     <NodeTemplate>
         <small>
             <asp:Label ID="lblnodeText" Text='<%#Eval("Title") %>' runat="server" /><asp:Label
                 ID="lblCatId" Text='<%#Eval("Id") %>' runat="server" Visible="false"></asp:Label><asp:Label
                     ID="lblisCustomer" Text='<%#Eval("isCustomer") %>' runat="server" Visible="false"></asp:Label><asp:Label
                         ID="Description" runat="server" Text='<%#Eval("description") %>' Visible="false" /><asp:HiddenField
                             ID="DescriptionVisible" runat="server" Value='<%#Eval("descriptionVisible") %>' />
         </small><small><a href="javascript:Popup_Window('category_detail','<%# Eval("id") %>')"
             style="text-decoration: none;"><span style="color: #BBBBBB">e</span></a></small></NodeTemplate>
 </telerik:RadTreeView>

XML File
<?xml version="1.0" encoding="utf-16"?>
<Tree ShowLineImages="False" CheckBoxes="True" MultipleSelect="True" OnClientNodeExpanded="OnClientNodeExpanded" OnClientNodeCollapsed="OnClientNodeCollapsed" DataFieldID="Id" DataFieldParentID="IdParent" DataTextField="Title" DataValueField="Id" Skin="tree_2" EnableEmbeddedSkins="False">
  <Node Text="Product Library" Value="1095" Expanded="True" Checkable="False" ExpandMode="ServerSide">
    <Node Text="Spirits" Value="2270" Expanded="True" ExpandMode="ServerSide">
      <Node Text="Boubon Wiskey" Value="2357" ExpandMode="ServerSide" />
      <Node Text="Tequila" Value="2368" Expanded="True" ExpandMode="ServerSide">
        <Node Text="Unknown Tequila" Value="2371" ExpandMode="ServerSide" />
        <Node Text="Anejo" Value="2372" ExpandMode="ServerSide" />
        <Node Text="Blanco" Value="2373" ExpandMode="ServerSide" />
        <Node Text="Reposado" Value="2374" ExpandMode="ServerSide" />
      </Node>
      <Node Text="Scotch" Value="2369" ExpandMode="ServerSide" />
      <Node Text="Vodka" Value="2370" ExpandMode="ServerSide" />
    </Node>
    <Node Text="Wines" Value="1564" Expanded="True" ExpandMode="ServerSide" />
    <Node Text="Beer" Value="2251" ExpandMode="ServerSide" />
    <Node Text="Miscellaneous" Value="2252" ExpandMode="ServerSide" />
    <Node Text="By Country" Value="2287" ExpandMode="ServerSide" />
    <Node Text="By Spirit Type" Value="2288" ExpandMode="ServerSide" />
    <Node Text="By Grape Type" Value="2289" ExpandMode="ServerSide" />
    <Node Text="By Region" Value="2295" ExpandMode="ServerSide" />
  </Node>
  <Node Text="Retailers" Value="2356" Expanded="True" Checkable="False" ExpandMode="ServerSide">
    <Node Text="Gates Circle" Value="2375" Expanded="True" ExpandMode="ServerSide">
      <Node Text="Spirits" Value="2376" ExpandMode="ServerSide">
        <Node Text="Vodka" Value="2382" ExpandMode="ServerSide" />
        <Node Text="Tequila" Value="2383" ExpandMode="ServerSide">
          <Node Text="Blanco" Value="2384" ExpandMode="ServerSide" />
        </Node>
        <Node Text="Scotch" Value="2385" ExpandMode="ServerSide" />
      </Node>
      <Node Text="Wine" Value="2377" ExpandMode="ServerSide" />
      <Node Text="Beer" Value="2378" ExpandMode="ServerSide" />
      <Node Text="Miscellaneous" Value="2379" ExpandMode="ServerSide" />
    </Node>
    <Node Text="Emilio's Beverage Warehouse" Value="2386" ExpandMode="ServerSide">
      <Node Text="Spirits" Value="2387" ExpandMode="ServerSide" />
      <Node Text="Wine" Value="2388" ExpandMode="ServerSide" />
      <Node Text="Beer" Value="2389" ExpandMode="ServerSide" />
      <Node Text="Miscellaneous" Value="2390" ExpandMode="ServerSide" />
    </Node>
    <Node Text="Pickard Liquor" Value="2396" ExpandMode="ServerSide">
      <Node Text="Spirits" Value="2397" ExpandMode="ServerSide" />
      <Node Text="Wine" Value="2398" ExpandMode="ServerSide" />
      <Node Text="Beer" Value="2399" ExpandMode="ServerSide" />
      <Node Text="Miscellaneous" Value="2400" ExpandMode="ServerSide" />
    </Node>
  </Node>
</Tree>
Tonyz289
Top achievements
Rank 1
 asked on 23 Nov 2012
1 answer
84 views
After a lot of fumbling around to figure out why the popup text on image maps in SharePoint 2010 weren't working, I figured out that IE8 and Chrome don't use the ALT tag any longer in image maps. . .they now use the TITLE tag to show tooltips or popups on image mapped items.  However, the version 6.3 of RadEditor for SharePoint 2010 that I'm using doesn't support the TITLE tag - only ALT.  Is there a plan to change this in a future version, or is there another workaround other than going into the HTML source and changing it? 
Rumen
Telerik team
 answered on 23 Nov 2012
7 answers
299 views
Hi All,

In Rad Scheduler week view Currently its show one week, But i need to show two weeks by default. How can i show two weeks by default in a scheduler week View.

Thanks
Madhan
NK
Top achievements
Rank 1
 answered on 23 Nov 2012
5 answers
218 views
Hi,
Can we bind the content from a word document, PDF, Excel in the Rad editor? or is there any Telerik control can display the content of  PDF, word, excel ? 







Thanks
Rumen
Telerik team
 answered on 23 Nov 2012
2 answers
86 views
I'm on a new job.  I was handed a machine with VS2012 and the Telerik DLLs.

I'm wondering if I'm missing something as far as Visual Studio is concerned.

I can compile and run projects.  Server side does not appear to be a problem.

However I'm not sure whether or not my problems on the client side are due to the fact I haven't used Javascript in a while, or if something's missing.

Is there a checklist?
Boris
Top achievements
Rank 1
 answered on 23 Nov 2012
3 answers
552 views
Hello,
I would like to set the emptymessage on a radtexbox the property TextMode = Password, but when I start the web page Radtextbox is empty you can not see the emptymessage, why? And how can I do?

Bye
Vasil
Telerik team
 answered on 23 Nov 2012
1 answer
63 views

Hi all

I have created theme Name 'Vista' and copied all files and images into that theme folder from
'C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q3 2012\Skins\Vista' location, and

 

write <pages theme = "Vista"/> in web.config under <system.web> tag

and write skin ="Vista" EnableEmeddedSkins="false" in all controls

I am getting an error
"The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. "

does i am loosing something OR where  I am doing mistake

Please do need full, how do get rid of .
Thanks

 

 

 

 

 

 

 

 

 

 

 

Plamen
Telerik team
 answered on 23 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?