Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
167 views
I'm aware that VisibleRangeStart and VisibleRangeEnd are read only at the moment, but is there any way I can change their values as happens when a user clicks next/prev month?

thanks
Peter
Telerik team
 answered on 16 Feb 2010
5 answers
195 views
If I have a column named Source which corresponds to a property of MySourceEnum Source how do I write a filter expression for this?

So far everything I've tried along the lines of

RadGrid1.MasterTableView.FilterExpression = "[Source] = 'SourceEnumValue'" 

Keeps resulting in a server exception.

Should I be using something like MySourceEnum.SourceEnumValue or perhaps the concrete name Some.Name.Space.MySourceEnum.SourceEnumValue isntead?

Also I should point out I use Nullable enums on my object incase it could be an issue with the grid not handling nullable enums correctly.

Iana Tsolova
Telerik team
 answered on 16 Feb 2010
6 answers
178 views
Hi,

I am trying to create custom provider class for general purposes and  need to instantiate the class with some configuration settings including specifying an itemhandler depending on settings during the initialization of the class.

I see that in your example you read settings from web.config but that does not allow for multiple instances for the class with different configurations depeding on configuration values.

I think this a very needed addition to the custom provider classes to make it even more dynamic and extend it's capabilities.

is  there any other way to do this  that I am not aware of?

Thank you,

Alfred


Marco
Top achievements
Rank 1
 answered on 16 Feb 2010
4 answers
208 views
I'm using an evaluation version of 2009.2.701.35, and seem to be running into issues filtering from the clientside. Whenever I try to call the filter function on the mastertableview, it gives me an error within the MicrosoftAjax.js served by TelerikWeb.UI.WebResource.axd, specifically that the trim() function is not available on a variable i. This error is within the Sys$Enum$parse function of that file.

The way that I'm calling the function that I'm calling is as thus (from a RadComboBox):
        function filterCounty(sender, args){
            $find(<%=RadGrid1.ClientID%>).get_masterTableView().filter("CountyCode", sender.get_value(), Telerik.Web.UI.GridFilterFunction.EqualTo);
//            alert(sender.get_value());
        }

Based on what I'm seeing, the enum gets evaluated to the numeric value 5, and then is sent to the Sys$Enum$parse function. For whatever reason, the javascript engine seems to choke at this point.

Is this a problem that has been run into before? 
Ali Khamis
Top achievements
Rank 1
 answered on 16 Feb 2010
7 answers
511 views
Hi, I am trying to use a RadListView in the same way I use a RadGrid in that I am trying to get the datakeyvalue for a specific dataitem when in the ItemDataBound method.

In a RadGrid, I can do the following:

e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex][myDataKey] 

to get the value of each datakey and then set client-side onclick attributes for a hyperlink so that clicking the link opens a RadWindow, passing in the row ID.

However, e.Item for a RadListView does not have an ItemIndex property, so how can I do the same for a RadListView?
ie,

e.Item.OwnerListView.DataKeyValues[???][myDataKey]

Regards,
Jonathan
Jonathan
Top achievements
Rank 1
 answered on 16 Feb 2010
4 answers
208 views
Hi all,

I am new to Telerik RadControls for ASP.NET.

I want to create a Excel like grid. Without the need to click the "Add" hyperlink to add a row. Without the need to click "Edit" link to edit a record... etc.

I have checked the forum and code library. Its has a very simular thread in the code library but its old - seems its from old version Rad controls and its for ASP.NET 2.0 anyway.

I thought the excel like grid is a very popular thing to do but seems not many people are talking about it. Is it a reason for that?

Also can I please ask if anyone has done it in the lastest RadGrid and in ASP.NET 3.5 and able to provide some sample for me.

The grid itself seems unable to do it and it seems to need to wrap with something controls but I don't have a clue.

Please help.

Edward
Top achievements
Rank 1
 answered on 16 Feb 2010
1 answer
138 views
Hi,

i've got a problem using the RadTreeView.

I have a simple RadTreeview, which send some Javascript Arguments to a RadXmlHttpPanel using OnClientNodeClicked:

  function OnClientNodeClicked(sender, args) { 
 
             var node = args.get_node(); 
             node.select(); 
             var panel = $find("<%=RadXmlHttpPanel1.ClientID%>"); 
            
             panel.set_value(node.get_value()); 
             
 
             
 
         } 
 
  <telerik:RadXmlHttpPanel ID="RadXmlHttpPanel1" runat="server" 
                      Value="EMPTY" 
                      LoadingPanelID="RadAjaxLoadingPanel2" 
                        OnServiceRequest="XmlHttpPanel_ServiceRequest" 
                        Height="180px" 
                        Width="280px" 
                        EnableClientScriptEvaluation="true" 
                       ></telerik:RadXmlHttpPanel> 
 

It works well.

But i have to add another RadXmlHttpPanel under this one with a RadGrid inside (Following Telerik sample).

I put a OnNeedDataSource="RadGrid1_NeedDataSource" on my RadGrid in order to fill it, and i tried this in code behind:

Dim s As String = RadTreeView1.SelectedValue 
 RadGrid1.DataSource = MyFunction(s) 

But it fails. i've trying to find a solution for 2 days now, but i don't know how to catch my treeview value. Any help? thanks


Nicolas


Pero
Telerik team
 answered on 16 Feb 2010
1 answer
181 views
I am having an issue with AJAX (and only AJAX calls) calls when using embedded scripts that are compiled into a DLL. For example, RadTabs work fine, but when loading a user control via AJAX, I get an error. Likewise loading a user control via AJAX for a ToolTip gives me an error.


The error being returned is:

RadToolTipManager response error:
Exception=Sys.WebForms.PageRequestManagerServerErrorException: Assembly 'JPScriptResources, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not contain a Web resource with name 'JPScriptResources.jquery-1.3.2.min.js'.


I can verify that the embedded jQuery IS working in my site, as it works in several other places. I even removed jQuery from embedding, and it just errors on whatever the next embedded script is.

Any thoughts?


Veselin Vasilev
Telerik team
 answered on 16 Feb 2010
2 answers
169 views
I have a radsplitter as followed:
Left Pane : Treeview
Right Panel : Uses the "ContentURL"

I need the page being loaded into the right panel contenturl background to be transparent so that it doesnt overlap the background set for the right panel.
How may I go about this?
Thanks in advance.

 

- Update -
How do I had "allowTransparency=true" to the iframe generated by radsplitter?  This is what I need to get the transparent to work in IE.
Svetlina Anati
Telerik team
 answered on 16 Feb 2010
1 answer
160 views
Hi,

I have a problem on my live site using radwindow resize method, on the testing server (without https) the resize is working fine, but on the live server it generates javascript error on the resize method: Access is denied.


Click on the map picture to popup the radwindow, I've tested this case on IE, Firefox, and Google Chrome, in IE we can see the javascript error detail: Access is denied, but in Firefox and Chrome the javascript error is ignored but the resize is also not working.

Please advise as we cannot find any solution but to turn off the resize, but this solution is not acceptable.

Best regards,
Omar S.
Svetlina Anati
Telerik team
 answered on 16 Feb 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?