Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
160 views

I am creating the RadMenu from the code behind dynamically:

ie

SubMenuItem =

New Telerik.Web.UI.RadMenuItem
SubMenuItem.Text =
"TEXT"

MainMenuItem.Items.Add(SubMenuItem)
SubMenuItem1.Text =

"Search "
SubMenuItem1.NavigateUrl = "~/SomeFile.aspx"
SubMenuItem.Items.Add(SubMenuItem1)

SubMenuItem1 =

New Telerik.Web.UI.RadMenuItem
SubMenuItem1.Text =
"User Queries"
SubMenuItem1.NavigateUrl = "~/User/SomeFile.aspx"
SubMenuItem.Items.Add(SubMenuItem1)

When the menu renders it only shows 19 Items, I have 20.  I have moved the bottom 2 around and it only shows the 19th.  Is there a limit on the number of menu Items you can create, or am I missing something here?

John Davis
Top achievements
Rank 2
 answered on 25 Sep 2008
1 answer
95 views
My RadChart has three series, and I'm dynamically populating the x and y values of the items in these series.  The X-Axis is a DateTime (converted to OLE Automation format).  If I make the series type as line, the chart displays correctly.  However, if the chart type is changed to StackedArea (which makes more sense for the type of information I want to display), the X-Axis seems to ignore the inputted values, and instead treats the data as an auto-incremented series starting at 1.

Is this a bug, or are the items pulling data from different locations based on chart type?
Ves
Telerik team
 answered on 25 Sep 2008
4 answers
151 views
Hi!

I am trying to use a RadToolbar, in visual study 2008, but when I prepare it in horizzontale visualizzaione me it always appears in vertical way. I would want to know if I am that I lack something or I am a Bug?

I attend your news and solutions

Thanks
Gennaro
Top achievements
Rank 1
 answered on 25 Sep 2008
1 answer
163 views
How can I change the type of column using the C# codebehind?

What I want to do is have a gridmaskedcolumn and ALWAYS show the field
in an edit form, even if it is in read only. So what I was thinking of doing
was if the user chooses read only, then instead of changing the readonly
property to true, to change the type of column
 to  just show the text....is this possible?


Thanks in advance,
Laura
Yavor
Telerik team
 answered on 25 Sep 2008
1 answer
195 views
Hai,
I have a rad Ajax panel in a page.
After the page load, If i wait for almost 5-10 min & den click any of the buttons inside the Ajax panel the loading panel is showing for a long time. After dat only the actions under the button click is performed. If we r continuously doing it it wil work fine. Plz help.
My ajax panel is:
 
<radA:RadAjaxPanel id="radAjxPnl" runat="server" loadingpanelid="LoadingPanel1" > 
 </radA:RadAjaxPanel> 

Load
<rada:AjaxLoadingPanel id="LoadingPanel1" runat="server" transparency="30" backcolor="#E0E0E0"
<asp:Image id="Image2" runat="server" AlternateText="Loading..." BorderWidth="0px" ImageUrl="~/RadControls/Ajax/Skins/Default/loading7.gif"></asp:Image> 
 </rada:AjaxLoadingPanel>  
ing panel is
kollam2003
Top achievements
Rank 1
 answered on 25 Sep 2008
4 answers
146 views
Has anyone had problems with the NodeInspector looking horrible in the editor? (No image upload, so here is a link to preview.)

I am wondering if this isn't commonly noted due to my combination of tools. An example of the tools file I am using can be seen below:
<root> 
    <modules> 
        <module name="RadEditorNodeInspector" /> 
    </modules> 
    <tools name="MainToolbar" dockable="true">                
        <tool name="Print" shortcut="CTRL+P"/>  
        <tool name="AjaxSpellCheck"/>     
        <tool name="FindAndReplace" shortcut="CTRL+F"/>       
        <tool separator="true"/>  
        <tool name="Cut" shortcut="CTRL+X"/>          
        <tool name="Copy" shortcut="CTRL+C"/>  
        <tool name="Paste" shortcut="CTRL+V"/>  
        <tool name="PasteStrip"/>  
        <tool separator="true"/>  
        <tool name="Undo" shortcut="CTRL+Z"/>  
        <tool name="Redo" shortcut="CTRL+Y"/>  
    </tools> 
    <tools name="InsertToolbar">          
        <tool name="ImageManager" shortcut="CTRL+G"/>  
        <tool name="ImageMapDialog"/>  
        <tool separator="true"/>  
        <tool name="LinkManager" shortcut="CTRL+K"/>  
        <tool name="Unlink" shortcut="CTRL+SHIFT+K"/>         
    </tools> 
    <tools> 
        <tool name="Bold" shortcut="CTRL+B"/>  
        <tool name="Italic" shortcut="CTRL+I"/>  
        <tool name="Underline" shortcut="CTRL+U"/>  
        <tool name="StrikeThrough" /> 
        <tool separator="true"/>  
        <tool name="JustifyLeft" /> 
        <tool name="JustifyCenter" /> 
        <tool name="JustifyRight" /> 
        <tool name="JustifyFull" /> 
        <tool name="JustifyNone" /> 
        <tool separator="true"/>  
        <tool name="Indent" /> 
        <tool name="Outdent" /> 
        <tool separator="true"/>  
        <tool name="InsertOrderedList" /> 
        <tool name="InsertUnorderedList" /> 
    </tools> 
    <symbols></symbols>   
    <colors></colors>     
    <paragraphs></paragraphs>  
    <classes>Normal,H1,H2,H3</classes> 
    <dialogParameters></dialogParameters>  
    <languages></languages>  
    <contextMenus></contextMenus>  
</root> 
George
Telerik team
 answered on 25 Sep 2008
3 answers
153 views
I select a couple of check boxes on the grid rows and do a button click. before the code on the button executes, the grid crashes with a unhelpful exception message. Anybody have a clue,

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   Telerik.WebControls.GridClientChangesLoader.UpdateSelectedRows(GridTableView currTableView, String controlId, Int32 rowIndex) +62
   Telerik.WebControls.GridClientChangesLoader.LoadSelectedRows(String selectedRows) +257
   Telerik.WebControls.GridClientChangesLoader.LoadChanges(String argument, NameValueCollection collection) +1073
   Telerik.WebControls.RadGrid.LoadPostData(String postDataKey, NameValueCollection postCollection) +428
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +661
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1194

 

Veli
Telerik team
 answered on 25 Sep 2008
1 answer
544 views
Hi,

I have a DropDown on aspx page, upon selection, I will get the ClientId which will become a parameter for stored procedure to get the data to display on Rad Grid.

I have to do Add, Update, Delete on RadGrid . But I have to use Stored Procedures passing clientId  as parameter to do the above operations.

Also need to validate if Column1 < Column2 on Grid on client side,  both are integers.

Could you please suggest on this or let me know the best example to take a look.
 
Many thanks.
John
Veli
Telerik team
 answered on 25 Sep 2008
3 answers
175 views
Hi,

Is it possible to use the url to navigate a calendar? I could allow it to post-back and then redirect to mypage.aspx?date=1/9/08, but can I achieve something similar without the extra post-back?

Another approach would be to put the RadCalendar inside an UpdatePanel and right before the postback change the URL dynamically with Javascript. Has anybody attempted to do this?

Thanks.
Yavor
Telerik team
 answered on 25 Sep 2008
2 answers
158 views
I have a mastertable with several detailtables.

I would like to hide the gridbuttoncolumn (i.c. Delete) of a detailtable dependend of a condition, before the grid will be shown.
I tried to get it work in the 'itemdatabound' and in the DetailTableDataBind, but I got stuck.

the code of the condition is as follows:

If SessionObject.HasRole("DLPRJ") = False Then

Mydatafactory
Top achievements
Rank 1
 answered on 25 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?