Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
128 views
Is there way I can get the full ClientID description?

I need to "focus" via javascript the webcontrols, but as you know if you have a radtextbox  the clientId "focusable" is endding with "_text", the raddateinput ends with "_dateInput_text", etc

So I need to know if there is a function for retrieving on the serverside this information.

Thanks.
benitolopez_sistemas
Top achievements
Rank 1
 answered on 03 May 2010
2 answers
239 views
Hi, I create a group like outlook grouping using groupbyexpression programatically when i press a button based on particular circunstances, but also i need to remove this new group created programatically. Actualy i have other 2 groupbyexpression defined in design time, i just need to remove new groups created in runtime hope you can help me.

Using tk_Grid.MasterTableView.GroupByExpressions.Clear(); i clear all the groups but i just to remove one at time

tk_Grid.MasterTableView.GroupByExpressions.Add(new GridGroupByExpression("CodigoPlanCuenta Group By CodigoPlanCuenta")); 


Regards Gino
Emre Kocyigit
Top achievements
Rank 1
 answered on 03 May 2010
2 answers
121 views
I just upgraded from 2009 to the latest 2010, and am using the RadGrid. Previously, the columns were being sized "proportionally" ... columns with more text are wider than columns with less text. This was done automatically by the grid control. Now it seems that the grid column widths are all the same size. How do I configure the grid to behave like it used to ... to auto size column width depending on the data.
Thanks!
Jay
Top achievements
Rank 1
 answered on 03 May 2010
1 answer
49 views
ASP.NET AJAX & SQL Server 2005

I have called a field Body Name that contains the text of the letter is now wanted to publish this text
How can I print this text I bet that this website is not published in top of the page
I do this with Java code, but I can print the website address I am please to advise
Thanks!
Daniel
Telerik team
 answered on 03 May 2010
1 answer
118 views
We're using advanced data-binding with OnNeedDataSource.  When we retrieve new records to populate the grid, we do the following:
grd.datasource = null;
grd.rebind();

This fires the OnNeedDataSource event and returns a datatable.  What we've noticed is that if our initial retrieve takes 10 seconds to return the records and render the grid on the page, doing any paging or sorting will take the same amount of time when it also fires the OnNeedDataSource event.

What can we do to make the paging and sorting quicker if we already have the data?
robertw102
Top achievements
Rank 1
 answered on 03 May 2010
5 answers
169 views
Hello
I have used dropdown column in my rad grid. I am trying to bind it with a method (DataSourceID='<%# LoadPolicyType()). but I got the error "Telerik.Web.UI.GridDropDownColumn does not have a DataBinding event". Please suggest me how can I bind the dropdown with my sub-routine. 

aspx Code Sample:
<telerik:GridDropDownColumn DataField="PolicyType" DataSourceID='<%# LoadPolicyType() %>'
                        HeaderText="Policy Type" ListTextField="PolicyType" ListValueField="PolicyTypeID"
                        UniqueName="PolicyType" >
            </telerik:GridDropDownColumn>

Bricton Perez
Top achievements
Rank 1
 answered on 03 May 2010
1 answer
109 views
So I have read the article about copy and paste from the clipboard. I understand the problems, but Microsoft just released Silverlight 4 with much better functionality. How far away are we from pasting excel data into a grid?
Telerik, are you on this yet??
Jim
Top achievements
Rank 1
 answered on 03 May 2010
1 answer
117 views
I am using an XMLDataSource with RadGrid. When the grid loads it shows no data. I have an XML and an XSLT file and in Visual Studio when I choose the Show XSLT Output from the XML menu it shows correctly. Can someone take a look and see if I have something wrong or why Radgrid doesn't like the XML?
Here is my XML file:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>  
<ns2:StorageVolume xmlns:ns2="http://www.nng.com/alertportal/processed/">  
  <companyNumber>179</companyNumber> 
  <gasDay>2009-12-18T00:00:00-06:00</gasDay> 
  <iddInjectionQuantity>739001</iddInjectionQuantity> 
  <nonPDDLPInjectionQuantity>185486</nonPDDLPInjectionQuantity> 
</ns2:StorageVolume> 
Here is my XSLT file:
<?xml version="1.0" encoding="UTF-8"?>  
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
  version="1.0" 
  xmlns:ns2="http://www.nng.com/alertportal/processed/" 
  xmlns:xalan="http://xml.apache.org/xslt">  
 <xsl:output method="xml" indent="yes"/>  
 
 <xsl:template match="ns2:StorageVolume">  
  <ns2:StorageVolume> 
   <xsl:attribute name="companyNumber">  
    <xsl:value-of select="companyNumber" /> 
   </xsl:attribute> 
   <xsl:attribute name="gasDay">  
    <xsl:call-template name="formatDate">  
     <xsl:with-param name="dateTime" select="gasDay" /> 
    </xsl:call-template> 
   </xsl:attribute> 
   <xsl:attribute name="iddInjectionQuantity">  
    <xsl:value-of select="iddInjectionQuantity" /> 
   </xsl:attribute> 
   <xsl:attribute name="nonPDDLPInjectionQuantity">  
    <xsl:value-of select="nonPDDLPInjectionQuantity" /> 
   </xsl:attribute> 
  </ns2:StorageVolume> 
 </xsl:template> 
 
 <xsl:template name="formatDate">  
  <xsl:param name="dateTime" /> 
  <xsl:variable name="date" select="substring-before($dateTime, 'T')" /> 
  <xsl:variable name="year" select="substring-before($date, '-')" /> 
  <xsl:variable name="month" select="substring-before(substring-after($date, '-'), '-')" /> 
  <xsl:variable name="day" select="substring-after(substring-after($date, '-'), '-')" /> 
  <xsl:value-of select="concat($month, '/', $day, '/', $year)" /> 
 </xsl:template> 
   
</xsl:stylesheet> 
Thank you for your help.
Chris LaFrancis
Top achievements
Rank 1
 answered on 03 May 2010
5 answers
230 views
Hi,
I am using an hierarchial radgrid. When a user expands a row in the mastertable, it causes the rebind of all the grid ! This happens even it isn't the first time the row is been expanded. This seems to be a big problem  because of the size of the DB and the SQL it needs to execute.
Is there a way, please, to stop the rebind of the master and detail tables after the first load of the grid ?

Regards,
Mounir
Mounir Maghraoui
Top achievements
Rank 1
 answered on 03 May 2010
10 answers
222 views
Hi,

i want disabled "ADD CUSTOM COLOR" in the colors icon in the Rad editor ?
i don't found in property :(

where i can disabled this function ?

thank's 
ch.

Ch Perez
Top achievements
Rank 1
 answered on 03 May 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?