Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
204 views

Hello,

I am pretty much how to populate the asp:menu from xml directly. But my issue is to do everything from server side. I am using dom model in my dev and so I have to get the nodes from xml dynamically and populate into the Menu and create a flyout with 2 columns on hover of each menu item. Would be great if someone can provide with a custom code to achieve this.

Pls find the screenshot here: http://www.imgplace.com/viewimg80/1153/812col.jpg

smith spd
Top achievements
Rank 1
 answered on 04 Jun 2010
3 answers
360 views
Hi,
I would like to change the background color of my RadEditor. I've seen all of the posts where they say to use the code below and put the classes in the newly created css file. I've tried this and it doesn't work...it still picks up the background color of the parent page. Does anyone know a workaround for this?

Thanks

<telerik:RadEditor ID="RadEditor1" Runat="server">
   
<CssFiles>
       
<telerik:EditorCssFile Value="~/EditorContentArea.css" />
   
</CssFiles>
</
telerik:RadEditor>
Rob Venable
Top achievements
Rank 1
 answered on 03 Jun 2010
0 answers
140 views
Hey guys, i've been using your Telerik products for ASP.NET and AJAX development for the past two months about, and have enjoyed them very much. Usually i can solve my problems by reading extensively through the content on your site and forums, but as several hours have gone by i'm feeling a little helpless.

I have a three-tierd heirarchy grid. The first two tiers work perfectly, when expanding to the third, the grid closes back up to the first tier and never hits the DeatailTableDataBind event. I have tried this every way i can think of (programatically + declaritive) without success.

Here are my code snippets, any help is appreciated.
EDITED OUT
EDITED OUT


Once again, any help is appreciated.


EDIT --- I have found the source of my problem, i was using the pageload event to populate my grid instead of the needsdatasource event. This has fixed my problem, thanks to anyone who attempted to help!
Mitchell
Top achievements
Rank 1
 asked on 03 Jun 2010
2 answers
156 views
Hi,
In this example, instead of the label, if I have a dropdown list, how do I databind it?
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplatedeclarativerelations/defaultcs.aspx

Here's my code:
<NestedViewSettings DataSourceID="odsContactDetails">  
 <ParentTableRelation> 
   <telerik:GridRelationFields DetailKeyField="CrmEntityId" MasterKeyField="CrmEntityId" /> 
  </ParentTableRelation> 
 </NestedViewSettings> 
<NestedViewTemplate> 
  <asp:Panel ID="pnlContactInfo" runat="server">  
  <asp:DropDownList ID="ddlPhones" runat="server"  DataTextField="Phone" DataValueField="Phone"/>  
  <asp:DropDownList ID="ddlEmails" runat="server" DataTextField="Email" DataValueField="Email"/>  
  </asp:Panel> 
</NestedViewTemplate> 
 
 
.....  
 
 
 <asp:ObjectDataSource ID="odsContactDetails" runat="server"   
  SelectMethod="GetContactInfo" TypeName="FVS.ControllerCRM.CRMDataControl">  
     <SelectParameters> 
        <asp:Parameter Name="crmEntityId" Type="String" /> 
        </SelectParameters> 
</asp:ObjectDataSource> 
 
 

I have got it to work, the data is returned by the datalayer, but it is not getting bound to the dropdownlist.
Thanks in advance!
saritha78
Top achievements
Rank 1
 answered on 03 Jun 2010
0 answers
109 views
I get the following error on a numeric text box once it gets focus after I disable the text box and then re-enable it and then of course click it to give it focus.
Once I click it I get this in firebug

uncaught exception: [Exception... "Not enough arguments [nsIDOMRange.collapse]" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: http://localhost/webber/admin/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a3bbfe379-348b-450d-86a7-bb22e53c1978%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.3.1314.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a603d133a-f943-435d-a80d-57457cc55f4a%3a16e4e7cd%3af7645509%3a24ee1bba%3a1e771326%3aa7e79140%3a11a04f7e%3ae330518b%3a8e6f0d33%3a6a6d718d%3ae524c98b%3ac8618e41%3ae4f8f289%3ab7778d6c%3ae085fe68%3a58366029%3aed16cbdc%3aaa288e2d%3ac08e9f8a%3a1bb784d4%3a19620875%3a874f8ea2%3a33108d14%3abd8f85e4%3bAjaxControlToolkit%2c+Version%3d3.0.20229.20843%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a3b7d1b28-161f-426a-ab77-b345f2c428f5%3ab14bb7d5%3a13f47f54%3a3c55b13e%3adc2d6e36%3ade51bc8f%3a1d056c78%3aa3e10fa2%3a701e375f%3aa4313c7a :: anonymous :: line 18549" data: no] 

thanks
towpse
Top achievements
Rank 2
 asked on 03 Jun 2010
2 answers
87 views
Hi team,

I have a radwindow1 as a popup to the main window, and also have radwindow2 as a popup to radwindow2.
I have managed to make the main window pop radwindow1, the problem comes when i want to make radwindow1 pop radwindow2.

Problem:
when radwindow2 pops up radwindow1 closes but i need it to remain open so that when i close radwindow2 the active window will be radwindow1.

Im using this code to open radwindow1 from radwindow2:

 function GetRadWindow() {  
                var oWindow = null;  
                if (window.radWindow) oWindow = window.radWindow;  
                else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;  
                return oWindow;  
            }  
 
            function clickHandler(sender, eventArgs) {  
                var item = eventArgs.get_item();  
                if (item.get_text() == "Add Existing Group") {  
                  
                    var oBrowserWnd = GetRadWindow().BrowserWindow;  
                    
                    oBrowserWnd.radopen("Existing_Groups.aspx", "RadWindow1");  
              
                    eventArgs.set_cancel(true);  
                }  
            } 

Thanxs in advance 
Claude
Top achievements
Rank 1
 answered on 03 Jun 2010
2 answers
177 views
Is it possible to nest bullet lists without having the user to resort to the html view?

  • Level 1
  • Level 1
    • Level 2
    • Level 2
      • Level 3


Neil
Top achievements
Rank 1
 answered on 03 Jun 2010
1 answer
104 views
The radscheduler, in an aspx page allows insertion of the first appointment alone.  Any attempt to add further appointments is of no avail.  It is found that upon clicking the save button(in the inline default template as well as the advanced default template),  the appointment_insert function doesn't get invoked as it does for the first appointment.  Any help in this regards is highly appreciated.

Peter
Telerik team
 answered on 03 Jun 2010
4 answers
97 views
I'm trying to set up a grid listing possible event, and a scheduler.  I want to put a "sign me up" button in each row of the grid, and when one is clicked, I want to use the gridrow's data, client-side, to add an appointment to the scheduler.

Can anybody point me to an example of something similar?

TIA,

  Ed
Peter
Telerik team
 answered on 03 Jun 2010
3 answers
216 views
I need a RadTextBox to bind an empty to dbnull (or null).
Is there any property available?

Thanks!
Daniel
Telerik team
 answered on 03 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?