Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
102 views
I started playing with RAD ASP.NET controls yesterday. I need to show user control in RADGrid only for insert and not for update. I prefer inline update. Can anyone help me with this ?
Thanks
rs
Top achievements
Rank 1
 answered on 15 Oct 2009
3 answers
120 views
Hi. I have a RadTreeView and i checked if it is empty using RadTreeView.IsEmpty but noew with RadControls for ASP.NET AJAX,  this method always return true.
I find a workaround, RadTreeView.Nodes.Count...
Is this method deprecated ? If so, always return true...
Veselin Vasilev
Telerik team
 answered on 15 Oct 2009
1 answer
167 views
Hi
To improve the perfomance of our webapplication we removed the link to stylesheet in the aspx pages and we have added a seperate project to have the stylesheets. We added a reference to that project and registered the stylesheet references in the style sheet manager in our web (aspx)project.  We referred this link http://www.telerik.com/help/aspnet-ajax/radstylesheetmanager.html to do this.

After doing this change everything works fine in Internet Explorer, but we find discrepancies in the styles applied to RADGrid in Mozilla Firefox.
Please let us know the solution.
regards
Bharath
Atanas Korchev
Telerik team
 answered on 15 Oct 2009
1 answer
83 views
Hello,
I have the following scenario with the Telerik RadControls for ASP.NET Ajax 2009.2.826.20 :
Two panels (P1 (left), P2(right)). In P1 there is a RadTreeView with LoadOnDemand (ServerSideCallback mode). When adding nodes, in the controls collection of the node I have to add a dinamically created table with informations specific for each node. For text I use a Label added in the same collection and node.Value contains the ID of the info. On the client, I am using some functions to remove the table element from each node and display it in the P2 panel. All is good, until I want to expand a node. On the server, in the NodeExpand event handler the Node property of the Telerik.Web.UI.RadTreeNodeEventArgs e argument has a wrong node info. If I have a root node and 5 children nodes and I want to expand the 4th children node, in e.Node I find the text and value of the 2nd node.

Can you tell me what is wrong? Is there any fix for this?

Regards,
Claudiu
Atanas Korchev
Telerik team
 answered on 15 Oct 2009
1 answer
136 views
Hi,

Load on Demand using ADO.NET Data Services for combo box could be implemented with visual studio 2005. If yes please share samples/links related to the same.

Thanks
Venkat
Paul
Telerik team
 answered on 15 Oct 2009
1 answer
283 views

When I try to apply AutoPostBackOnFilter="true" inside GridCheckBoxColumn with Telerik Grid it not filter when I change filter value.

And also I notice that it always include checkbox filter value when I change other column’s filter value.

 

Ex.

ContactPerson  City                      Country                IsMainAddress?

Dharmesh           Rajkot                   India                      True

Vishal                  Connecticut          USA                       False

Vimal                   Baroda                 India                      True

 

 

           (1)    AutoPostBackOnFilter not works with GridCheckBoxColumn, here my last column IsMainAddress is GridCheckBoxColumn.

           (2)   When I try to filter ContactPerson with “Vi” and apply Contains filter it displays only “Vishal, Connecticut, USA, False”    

                 because it added “IsMainAddress?” column’s default fitter value False that should not be.


           It should be display “Vishal” and “Vimal” records, this work well other then CheckBoxColumn value. I hope this can be solving 

          using some differemt method.

Johny
Top achievements
Rank 1
 answered on 15 Oct 2009
3 answers
144 views
Hello,

how can I add additional scriptDescriptors and scriptReferences to a RadTextBox control?

This doesn't work:

 

 

 

 

protected override IEnumerable<ScriptReference> GetScriptReferences()     
{  
IEnumerable<ScriptReference> baseSR = base.GetScriptReferences();   
 
List<ScriptReference> mySR = baseSR as List<ScriptReference>;   
mySR.Add(new ScriptReference("MyClientScript.js"));     
 
return mySR as IEnumerable<ScriptReference>;   
}  
    
protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors()   
{  
IEnumerable<ScriptDescriptor> baseSD= base.GetScriptDescriptors();   
 
List<ScriptDescriptor> mySD= baseSD as List<ScriptDescriptor>;  
....  
....  
 
mySD.Add(desc);  
 
return mySD as IEnumerable<ScriptDescriptor>;   
}  
 



I get the error: this.get_styles().EnabledStyle
best regards

 

 

 

 

lemon 

 

 

 

 

 

 

 

Nikolay Rusev
Telerik team
 answered on 15 Oct 2009
1 answer
106 views
Hello,

Is it possible to set the parent node checkable property to false if there are child nodes while the child nodes remain checkable.  In other words if a parent has children, the parent is not checkable; otherwise the parent is checkable if it has no children.  I have tried to do this under page_prerender after the radtree is databound but with no luck on the syntax.  Any help would be greatly appreciated.  We are working in .net using vb.

Thanks
Jason
Top achievements
Rank 1
 answered on 15 Oct 2009
1 answer
152 views
I am trying to use the NodeCheck on the RadTreeView control, version 2009.2.701.20.  The Nodecheck does not fire the server side event, I have other events being fired on the server but not the NodeCheck.  Here is a code snippet :

 <rad:RadTreeView ID="rtvOrganisationStructure" runat="server" ExpandDelay="10" Skin="Office2007"
        AllowNodeEditing="true" DragAndDrop="true" MultipleSelect="true"
        CheckBoxes="true"
        OnNodeEdit="rtvOrganisationStructure_OnNodeEdit"
        OnNodeContextClick="rtvOrganisationStructure_OnNodeContextClick"
        OnNodeDrop="rtvOrganisationStructure_OnNodeDrop"
        OnNodeCheck="rtvOrganisationStructure_OnNodeCheck"
        >
     </rad:RadTreeView>

&lt;rad:RadTreeView ID="rtvOrganisationStructure" runat="server" ExpandDelay="10" Skin="Office2007"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowNodeEditing="true" DragAndDrop="true" MultipleSelect="true" <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CheckBoxes="true"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OnNodeEdit="rtvOrganisationStructure_OnNodeEdit"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OnNodeContextClick="rtvOrganisationStructure_OnNodeContextClick"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OnNodeDrop="rtvOrganisationStructure_OnNodeDrop"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>OnNodeCheck="rtvOrganisationStructure_OnNodeCheck"</b>&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/rad:RadTreeView&gt; 


The only event that does not work is the OnNodeCheck.  Does the scriptManager need to be on the page?  I do not have the scriptManager on the page but all the other events still fire.

I am doing this with c# and asp.net (3.5)
Veselin Vasilev
Telerik team
 answered on 15 Oct 2009
2 answers
121 views
Hi!

I have a problem with borders for selected cells in RadGrid. Using firefox 3.0.14, if I ctrl-click a cell in the radgrid I get a blue border around the cell (and any subsequent ctrl-clicked cells). Setting the border style of the cell doesn't help as the blue border is on top of the actual cell border. If I use Internet Explorer these borders doesn't show up.

Is there a way of removing this blue border?

The behaviour can be observed in your grid demos aswell, e.g your outlook grid demo:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/webmail/defaultcs.aspx

Regards

/David
David G
Top achievements
Rank 1
 answered on 15 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?