Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views
I have a readpanelbar with several radpanelitems within it.
When I try to expand or collapse any radpanelitem, it takes a long time.
There are several raddatepickers in the radpanelitems as well, which use a shared calendar.
If I remove the raddatepickers from the radpanelitems, or the panelitems which consists of raddatepickers are already collapsed, then the other radpanelitems expand or collapse very fast.
This behavior is in IE only and it behaves fine in Firefox.
Nikolay Tsenkov
Telerik team
 answered on 21 Jun 2010
3 answers
90 views
Go to the RadWindow Restriction Zone demo.

When the demo has loaded, maximize one of the windows. Click on the RadWindow menu option. You should see the menu drop behind the maximized window at least it does here in both IE8 and Chrome. 

Now, click on one of the options on the left side of the page, I picked cssplay.co.uk, but it doesn't actually matter which you pick. You'll see the window open up through the titlebar of the maximized window but you won't be able to access it without at least restoring with maximized window. I would have at least expected the newly opened window to appear on top.

-- 
Stuart
Georgi Tunev
Telerik team
 answered on 21 Jun 2010
3 answers
145 views
I have a simple RadGrid bound to a DataTable retrieved from a SQL database with a simple "SELECT * FROM <table_name>" query.
One of the table's columns stores XML strings.

My problem is that the corresponding RadGrid column does not display the XML string itself; it displays only the XML element values one after another.

E.g.  say the database value in column X is:
    "<root><username>foo</username><password>bar</password></root>".
The RadGrid displays in its column X:
    "foo bar".

Is it possible for the RadGrid to show the actual XML string itself?

Many thanks.
hobbes_child
Top achievements
Rank 1
 answered on 21 Jun 2010
1 answer
109 views
I have a master page that contains a RadSplitter with several rad panels and two toolbars (top and bottom).  When a content page is loaded, the master page uses an interface on the content page to determine what buttons should be available and on which toolbar.

When a toolbar contains no buttons, I'd like to hide it and have the space reclaimed by the splitter.  Unfortunately, I have been running in circles because when I set the RadPanel's visibility to false, the application fails on a postback to show the toolbar again.  I consistently run into javascript errors where I see [null] is null or not an object.

I'm using RadControls_for_ASP.NET_AJAX_2009_3_1208 and the browser is IE 7.  Is this a problem with redisplaying of CSS styles?
Dobromir
Telerik team
 answered on 21 Jun 2010
1 answer
107 views
Hi

I am using Ajax controls Q1 2010 RadGrid control for client side binding. I need to format rows based on the values in the returned row.  I found a good postng on how to do this (see here) but when I try to access the row data using eventArgs.get_gridDataItem().get_dataItem() in the RowCreated client event it always returns null.  Is this by design as it seems rather odd.  Strangely I am using the RowSelected event on the same grid and it returns the data without any problem.

Can anyone help me???

Cheers
Jonny
Veli
Telerik team
 answered on 21 Jun 2010
1 answer
100 views
Description: Calling this class to load into a userControl on the page.

Xml Structure:

<Products> 
    <Product> 
        <items> 
            <ProdID>123</ProdID> 
            <ProdNo>89415F</ProdNo> 
            <ProdName>OTBuild</ProdName> 
        </items> 
    </Product> 
</Products> 
Class:
Dim RadGrid1 as New RadGrid()    
Dim root as new xmldocument()  
 
Public Sub GetData(ByRef Placeholder1 as Control)  
    
   CustBinding()  
   root.load(Server.mappath("test.xml"))  
   Dim ndlist As XmlNodeList = root.SelectNodes("//Products/Product")  
 
        Dim xDoc As New XmlDocument()  
          
        For Each cNode As XmlNode In ndlist  
            Dim subNode As XmlNode = xDoc.ImportNode(cNode, True)  
            xDoc.InnerXml = subNode.OuterXml  
            Dim chNode As XmlNode = nDoc.SelectSingleNode("//Product")  
            dS.ReadXml(New XmlNodeReader(chNode))  
        Next 
    RadGrid1.datasource=dS  
      CustControl()  
    RadGrid1.DataBind()  
 
    Placeholder1.controls.add(RadGrid1)  
 
End Sub 
 
Public Sub CustBinding()  
   RadGrid1.Skin = "Default" 
        RadGrid1.ItemStyle.Font.Name = "sans-serif" 
        RadGrid1.PagerStyle.Mode = 2  
 
        RadGrid1.ShowGroupPanel = False 
        'RadGrid1.AutoGenerateColumns = True  
        RadGrid1.AutoGenerateHierarchy = True 
        RadGrid1.AllowPaging = True 
RadGrid1.AllowSorting = True 
 
End sub  
 
Public Sub CustControl()  
RadGrid1.Skin = "Default" 
        RadGrid1.ItemStyle.Font.Name = "sans-serif" 
        RadGrid1.PagerStyle.Mode = 2  
 
        RadGrid1.ShowGroupPanel = False 
        'RadGrid1.AutoGenerateColumns = True  
        RadGrid1.AutoGenerateHierarchy = True 
        RadGrid1.AllowPaging = True 
End Sub 


 

Issues:

1) Clicking on one column sorts the next column, the column on the right.(Even for Basic Sorting)
2) Same is issue with MultiColumnSorting.
3) rgStatus Class with div's causes improper align of PagerStyle

Referred most of the blogs: One , Two .... and many

Pavlina
Telerik team
 answered on 21 Jun 2010
1 answer
133 views
Hello.Are you aware of any bullets problems?
I mean they react strange.
Create a few bullets,write some text then select all the text and try to press bullets(repeatedly).
Of course after selecting so much text  i believe it's normal to react strange but our customers will not be happy.
Any ideas of improving bullets?
Thank you!
Rumen
Telerik team
 answered on 21 Jun 2010
6 answers
392 views
I developed my application using trial version number: 2008.2.826.20 , then decided to upgrade to the latest version 2008.3.1125.20. On the development machine i replaced the telerik.web.UI.dll with latest version: 2008.3.1125.20 everything went on fine & it's not generating any errors. On the staging environment using windows 2003 Server i',m getting the following error:

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'Telerik.Web.UI, Version=2008.2.826.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

any ideas on how to resolve this issue?
Fadao
Top achievements
Rank 1
 answered on 21 Jun 2010
3 answers
249 views

I need to add the below functionality to all my grids

1. If the cell is empty, I need to append a value.
2. I need to get the Grid column width. (width is dynamic. I dint set any width specifically.)

I have inherited the RadGrid control and it executes both ItemDatabound/PreRender handler.
If I add the string, all the strings left empty. I tried the below code

protected override void OnPreRender(EventArgs e)
 {
 ControlHelper.RegisterScriptFile("~/App/script/NCRadGrid.js");
         
       
            foreach (GridItem item in MasterTableView.Items)
            {
             
                foreach (TableCell cell in item.Cells)
                {
                    cell.Text += "&nbsp;";
                }
            }

Dimo
Telerik team
 answered on 21 Jun 2010
3 answers
237 views

Hi,
I have a grid with a GridTableView inside.  I automatically expand all rows using HierarchyDefaultExpanded=true.  But I'd like to hide the expander column.  I've set ExpandCollapseColumn-Visible = false.  But it has no effect. 

I've attached a screen shot.

It would be great if you could help.

Nick


Princy
Top achievements
Rank 2
 answered on 21 Jun 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?