Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
200 views
Hi all,
     I have a grid in which i have used commanditemdisplay. Can I hide it from the code behind. If yes how??
thanks for all replies
RT
Shinu
Top achievements
Rank 2
 answered on 17 Dec 2012
2 answers
116 views

Hi,

I have a RadPanelBar, which includes several panelitems.  I put a radtreeview under each of the item. then add the first-level treenodes to them programmatically, and the node Expandmode has been set to "ServerSideCallBack" so that the second level node can be expanded on demand.

The program works ok but the only issue is the Scrollbar does not appear automartcally when I expanded the treenode and the content exceed the height. But if I set the Expand="True" and "Selected="true" at the panelitem then the scrollbar appear. But logically only one can be expanded and selected, how to fix this?

I am using the latest build (2012.3.1205.35) and tried on IE 9/Google Chrome, same result

<telerik:RadPanelBar ID="panelBarMain" runat="server" Width="100%"
Height="100%" ExpandMode="FullExpandedItem"
Skin="Office2007"><BR><Items><BR><telerik:RadPanelItem
Value="Trackings" Text="Trackings"
Visible="false"><BR><ContentTemplate><BR><telerik:RadTreeView
ID="treeTracking"
runat="server"><BR><Nodes><BR></Nodes><BR></telerik:RadTreeView><BR></ContentTemplate><BR></telerik:RadPanelItem><BR><telerik:RadPanelItem
Value="Tenders" Text="Tenders" Visible="false" Expanded="true"
Selected="true"><BR><ContentTemplate><BR><telerik:RadTreeView
ID="treeTenders"
runat="server"><BR></telerik:RadTreeView><BR></ContentTemplate><BR></Items><BR></telerik:RadPanelBar>

Andy Ho
Top achievements
Rank 1
 answered on 17 Dec 2012
1 answer
48 views
I understand the part about RadAjaxPanel ajaxifying all controls within it's tags but does it ajaxify invisible controls? Say you have five asp panels within a RadAjaxPanel that you toggle visibility on based on link button clicks. If only one panel is visible at a time, does the RadAjaxPanel ajaxify ALL of the five panels' controls on say, a button click contained within the visible panel OR does it ajaxify just the panel that is visible and therefore just the controls contained within the visible panel?
Kevin
Top achievements
Rank 2
 answered on 16 Dec 2012
1 answer
81 views
I am having difficulty on a tooltip with grid and this grid has pagination.

Scenario:
Parent page -> radgrid with tooltip -> load ascx for tooltip
Tooltip (ascx) -> radgrid with pagination

If tooltip is shown and next page is clicked, nothing happens since it always call ajaxupdate and not the pagination event or the needdatasource event of the grid on the tooltip (ascx)

Kindly advise on this scenario.

Thanks.
Jayzle
Top achievements
Rank 1
 answered on 16 Dec 2012
0 answers
100 views
we are actually facing a problem when ever uploading occasionaly and we don't know the cause, please help us in this, below is a description of the exception we have.

The given key was not present in the dictionary.   at System.ThrowHelper.ThrowKeyNotFoundException()     at System.Collections.Generic.Dictionary`2.get_Item(TKey key)     at Telerik.Web.UI.AsyncUpload.AsyncUploadClientStateConverter.Deserialize(IDictionary`2 dictionary, Type type, JavaScriptSerializer serializer)     at System.Web.Script.Serialization.ObjectConverter.ConvertDictionaryToObject(IDictionary`2 dictionary, Type type, JavaScriptSerializer serializer, Boolean throwOnError, Object& convertedObject)     at System.Web.Script.Serialization.ObjectConverter.ConvertObjectToTypeInternal(Object o, Type type, JavaScriptSerializer serializer, Boolean throwOnError, Object& convertedObject)     at System.Web.Script.Serialization.ObjectConverter.ConvertObjectToTypeMain(Object o, Type type, JavaScriptSerializer serializer, Boolean throwOnError, Object& convertedObject)     at System.Web.Script.Serialization.ObjectConverter.ConvertObjectToType(Object o, Type type, JavaScriptSerializer serial

Stack Trace: 
   at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at ASP.attachments_aspx.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Muhahammad
Top achievements
Rank 1
 asked on 16 Dec 2012
1 answer
140 views

Is there a way to configure the RadRadialGauge for quadrant-style or semi-circle gauges.  The Silverlight gauges have this option, but I don't see it for the ASP.NET gauge controls.

http://www.telerik.com/help/silverlight/radial-scale-semicircle-gauge.html
http://www.telerik.com/help/silverlight/radial-scale-quadrant-style-gauge.html

Danail Vasilev
Telerik team
 answered on 15 Dec 2012
3 answers
447 views
Hello,

How can I show/hide the RadToolBar control using client-side javascript?

I've tried:
var toolBar = $find("<%=RadToolBar2.ClientID%>");
toolBar.set_visible(false);

and..

var toolBar = $find("<%=RadToolBar2.ClientID%>");
toolBar.hide;

Doesn't work!

Thank you!
Kevin
Top achievements
Rank 2
 answered on 15 Dec 2012
1 answer
84 views
Hi,
  Here is the situation:
   I have a master page with telerik menu control (ID=testMenu)with  2 top level menu items "A", "B" . In the page load event of this page, I have added 3 sub menus -a1,a2,a3 to "A"   [ testMenu.Items[0].Items.Add(new RadMenuItem("a1")); testMenu.Items[0].Items.Add(new RadMenuItem("a4")); testMenu.Items[0].Items.Add(new RadMenuItem("a3"));]

  . No issues till now... now trying to get the total sub menus under "A"   from content page load event using [ (RadMenu )Master.FindControl("testMenu") ).Items[0].Items.Count] , returns '0' always  .. Can you tell me why dynamically added menu is reflected inside menu control object.

Regards
Madhu
Kevin
Top achievements
Rank 2
 answered on 15 Dec 2012
1 answer
120 views
hello all,

how to display an image (retrieved from  DB as byte[]) inside an edit form template in radgrid ??

can anyone help me ?

thanks in advance
Jayesh Goyani
Top achievements
Rank 2
 answered on 15 Dec 2012
1 answer
50 views
I am facing a issue regarding the radgrid, in which a white space is coming below the pagination. 

I had already tried the solution which is suggested by support but not working and there is no other solution found.

Below is the previous post by other developer and has screen shot attached.

            http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid---having-extra-white-space-below-the-pagination.aspx

I am having same issue and there is no solution found and the solution provided by Telerik support seems to be doesn't work.

Please help, Thanks in advanced.

Mayur
Pavlina
Telerik team
 answered on 15 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?