Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
227 views
Hi,

I want to access and change the CSS (CssClass, CssClassOver, CssClassSelect) of TreeNode on client side on context menu item event "BeforeClientContextClick" of TreeView.

The function signature looks like:
function fnClientContextMenuItemClick(node, itemText)
{
//logic goes here
}

Can anyone provide idea on this?

Thanks,
Jaimin
Yana
Telerik team
 answered on 14 Jul 2008
3 answers
188 views

I was going through the documentation to find a way to handle a grid command on the client side.  The documentation states that there is a client event for this

<ClientEvents OnCommand="RaiseCommand" ... />

however, when I try to use this command I get a design time and runtime error say this property is not valid. 

 

<ClientEvents  OnCommand="RaiseCommand"  />

 

Error:Type 'Telerik.Web.UI.GridClientEvents' does not have a public property named 'OnCommand'.

 

I"m currently using version 2008.1.415.20 (Telerik RadControls for ASP.NET Ajax)

 

Please advise

Sebastian
Telerik team
 answered on 14 Jul 2008
1 answer
78 views
Hi,

I've ported my input controls to the new ajax controls. I had previously implemented the 'Add' additional inputs controls with a description textbox, all of this was put in a div with scroll=auto. After porting to ajax I noticed that the input components do not scroll, but rather stay in the original location, floating over other components. Is there some style setting or something I'm missing?

Thanks,
Bruce
Veselin Vasilev
Telerik team
 answered on 14 Jul 2008
2 answers
159 views
I have a RadGrid with a MasterTable and inner Details table. After an event causes the details datasource to insert a new row the details table of the grid view does not display the new data. If I call  RadGrid1.DataBind();  that will cause the inner table to close and then when the user manually expands it the new data shows ... what I want is for a databind to update both pieces of the RadGrid.

Thanks
 
Stephen
Top achievements
Rank 1
 answered on 14 Jul 2008
1 answer
65 views
Is there a reason a VS 2008 compatible (online demos) isn't provided? I had to convert the project using the VS 2008 wizard only to find numerous compile errors. Any help would be appreciated.

Thanks,
Levi
Daniel
Telerik team
 answered on 14 Jul 2008
6 answers
366 views
Hi guys,

I found a semi-serious bug.
If you are using radformdecoration with decoratedcontrols set to "all", any asp textbox that has textmode set to "multiline" will simply disappear in IE7.

I tried a few skins and this was the case with them all.

I'm using a temp solution which is to add this definition to the skin files.

.radfd_MySkin textarea  
{  
    visibility: visible !Important; 
} 

which works fine. But obviously we will need a non-css solution in the long run.

Regards,
-DJ-
Georgi Tunev
Telerik team
 answered on 14 Jul 2008
2 answers
231 views
Hi,

the exception occured in Version Q1 2008 build 619.

When I run the following code twice

DataView dv2 = dt2.DefaultView;

dv2.Sort = columnName +

" ASC";

cboSBOldValue.Items.Clear();

cboSBOldValue.DataTextField = columnName;

cboSBOldValue.DataValueField = columnName;

cboSBOldValue.DataSource = dv2;

cboSBOldValue.DataBind();



I get the above mentioned exception the second time the code runs.
The content of the DataView is completely different the second time.
The exception is raised here: cboSBOldValue.DataBind();


Exception Details:
System.ArgumentOutOfRangeException was unhandled by user code
  Message="Selection out of range\r\nParametername: value"
  Source="Telerik.Web.UI"
  ParamName="value"
  StackTrace:
       bei Telerik.Web.UI.RadComboBox.PerformDataBinding(IEnumerable dataSource)
       bei Telerik.Web.UI.RadComboBox.OnDataSourceViewSelectCallback(IEnumerable data)
       bei System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
       bei Telerik.Web.UI.RadComboBox.OnDataBinding(EventArgs e)
       bei Telerik.Web.UI.RadComboBox.PerformSelect()
       bei System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
       bei CLWorkbench.SQLBox.cboSBOldValue_ItemsRequested(Object o, RadComboBoxItemsRequestedEventArgs e) in H:\projects\ClLoader\SOURCES\CLWorkbench\CLWorkbench\SQLBox.ascx.cs:Zeile 1054.
       bei Telerik.Web.UI.RadComboBox.RaiseItemRequestEvent(RadComboBoxItemsRequestedEventArgs args)
       bei Telerik.Web.UI.RadComboBox.RaiseCallbackEvent(String eventArgument)
       bei Telerik.Web.UI.RadComboBox.System.Web.UI.ICallbackEventHandler.RaiseCallbackEvent(String eventArgument)
       bei System.Web.UI.Page.PrepareCallback(String callbackControlID)
  InnerException:


Obviously the same issue was already discussed here:
http://www.telerik.com/community/forums/thread/b311D-bbgmmt.aspx

Thank you for your help

regards

Andreas
Andreas N.
Top achievements
Rank 2
 answered on 14 Jul 2008
1 answer
132 views
I am using the RadScheduler with GroupBy set to one of my resource types.

The  resource type in use is a "ROOM", where the text property is the name of the room and I also have an attribute for the capacity of that room.
What I would like to do is display "Room Name (Capacity)" in the header for the column in the grid.

If I adjust the GetResources method in my DbSchedulerProvider-based provider then the column headers appear correct but the capacity of the room is also shown in the room selection drop-down when you create/edit and appointment (I'm guessing because both functions rely on the GetResources method to populate the data)

Is there any way to alter the resource column headings without affecting the resource selection drop-down list ? (eg is there an event I can handle when the GroupBy headers are being created?)

Secondly - is it possible to make the GroupBy column headings text wrap (I have 10 room columns displayed on my scheduler and the room name is being truncated) ?

Thanks
Mark

T. Tsonev
Telerik team
 answered on 14 Jul 2008
1 answer
235 views
Hi,

the exception occured in Version Q1 2008 build 619.

When I run the following code twice

DataView dv2 = dt2.DefaultView;

dv2.Sort = columnName +

" ASC";

cboSBOldValue.Items.Clear();

cboSBOldValue.DataTextField = columnName;

cboSBOldValue.DataValueField = columnName;

cboSBOldValue.DataSource = dv2;

cboSBOldValue.DataBind();



I get the above mentioned exception the second time the code runs.
The content of the DataView is completely different the second time.
The exception is raised here: cboSBOldValue.DataBind();


Exception Details:
System.ArgumentOutOfRangeException was unhandled by user code
  Message="Selection out of range\r\nParametername: value"
  Source="Telerik.Web.UI"
  ParamName="value"
  StackTrace:
       bei Telerik.Web.UI.RadComboBox.PerformDataBinding(IEnumerable dataSource)
       bei Telerik.Web.UI.RadComboBox.OnDataSourceViewSelectCallback(IEnumerable data)
       bei System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
       bei Telerik.Web.UI.RadComboBox.OnDataBinding(EventArgs e)
       bei Telerik.Web.UI.RadComboBox.PerformSelect()
       bei System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
       bei CLWorkbench.SQLBox.cboSBOldValue_ItemsRequested(Object o, RadComboBoxItemsRequestedEventArgs e) in H:\projects\ClLoader\SOURCES\CLWorkbench\CLWorkbench\SQLBox.ascx.cs:Zeile 1054.
       bei Telerik.Web.UI.RadComboBox.RaiseItemRequestEvent(RadComboBoxItemsRequestedEventArgs args)
       bei Telerik.Web.UI.RadComboBox.RaiseCallbackEvent(String eventArgument)
       bei Telerik.Web.UI.RadComboBox.System.Web.UI.ICallbackEventHandler.RaiseCallbackEvent(String eventArgument)
       bei System.Web.UI.Page.PrepareCallback(String callbackControlID)
  InnerException:


Obviously the same issue was already discussed here:
http://www.telerik.com/community/forums/thread/b311D-bbgmmt.aspx

Thank you for your help

regards

Andreas
Rosi
Telerik team
 answered on 14 Jul 2008
5 answers
137 views
Hi,

I use Image manager standardAlone, I use to insert path in my cms.The path is returned by getpah() as 

/mysolution/Images/myfile.jpg

how to obtain like this?
~/Images/myfile.jpg, same as form configuration.

Regards
Rumen
Telerik team
 answered on 14 Jul 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?