Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
324 views
Hi,

I am populating grid through WCF method in client side. DEpending upon some condition, i need to change the header text of some column and hide some columns. Please let me know how we can do this?

Thanks in advance.
Arvind
Schlurk
Top achievements
Rank 2
 answered on 05 Feb 2010
1 answer
89 views
Hi there,
The Visual Style Builder looks great, however the control I want to customize a skin for does not seem to be working.  I do the following:

  • Click the New Skin link.
  • Enter a Skin Name, select a Base Skin, I want to use Forest. (but I have tried others and get the same results), put a tick in the PanelBar control checkbox and press the Create button.
  • Once the Style Builder loads I click the Fine-tune tab and then once that loads I click the Child Items button.
  • I then go through each tab, (Normal, Hovered, Selected/Expanded, Disabled) and click the "remove" link in the Background - Image. (However I find if I do this in the "Normal" tab first it removes it from all the others.)

The behavior I see is that only the thin edge on the right hand side disappears.  No mater what I do the orange bg image will not disappear.  I have tried Saving and then refreshing the page.  But I can't see a way to get rid of it.

If i try and upload a new image, after removing the existing one, I see just the edges of it appear under the existing one that did not disappear when I removed it.

This behavior happens in the latest FireFox and the latest IE7.

If this is a bug when will it be fixed, and is there a work around?

If this is not a bug, what am I doing wrong.

Regards,

Scott.
Kamen Bundev
Telerik team
 answered on 05 Feb 2010
1 answer
103 views
Because your tool uses iframes is it impossible to align the drop down items properly in IE6 when placed in a css centered div.

This is a standard method for center aligning pages, I will not accept any answer that suggests any other centering method.

Below is the relevant css for my page:
body { text-align:center;} 
#page {margin:0 auto; text-align:left; width:960px} 
 
 
The relevant aspx is as follows:
<div id="page"> 
<telerik:RadComboBox ID="Discipline" Runat="server" DataSourceID="DisciplineDS" EnableLoadOnDemand="true" DataTextField="Discipline" DataValueField="Discipline" EmptyMessage="select discipline" AppendDataBoundItems="true" OnSelectedIndexChanged="Discipline_Changed" AutoPostBack="true" Width="195px" > 
<Items> 
<telerik:RadComboBoxItem Text="All disciplines" Value="" /> 
</Items> 
</telerik:RadComboBox> 
</div> 

Your recommendations for a fix here would be appreciated,

Robert


Kamen Bundev
Telerik team
 answered on 05 Feb 2010
1 answer
136 views
I am using linqdatasource to bind the the radgrid. In the linqdatasource I am specifying a view from the database. If i run the view in query analyzer it takes  3 to 4 sec.

Navigating the grid using page numbers takes around 2 secs which is fine. 
Problem here is when I enter search criteria in the filter box it would take more than 7 sec. Any reason why it would happen?

could also clarify how linqdatasource works internally. If I click a page no. does it execute the view again and show only the appropriate records?

Pavlina
Telerik team
 answered on 05 Feb 2010
5 answers
241 views
Hi,

I have a radgrid with a gridtemplatecolumn and an asp:checkbox inside it. What is the recommended way to maintain the state of these checkboxes between paging through the grid?

Thanks,

Marcus
Mark Galbreath
Top achievements
Rank 2
 answered on 05 Feb 2010
1 answer
247 views
I am creating a treeview dynamically in Page_Init and loading it using the LoadXmlString() method with the xml below.  In the XML, the leaf-nodes are set to Visible=False.  When the treeview renders, the parent nodes are still displaying the expand icon, even though there is technically nothing to expand since the children are not visible.  Clicking on the expand icon still performs an expand, but it only displays a single line of whitespace where the child nodes would be if they were visible   Since the child nodes are not visible, I would have expected those parent nodes to be rendered like leaf nodes, with no expand/collapse images.  What is the expected behavior here?  How can I have the tree render so that the expand/collapse images do not render for any node that has no visible children?


<Tree CheckBoxes="True" CssClass="fldVal" Width="250px" style="position:absolute;left:150px;top:800px;height:146px;" fldRevID="207" fldName="TestFolders">
    <Node Text="Root" Value="198" Category="AppFolder" Visible="True" Enabled="True" Tooltip="" ImageURL="images/folder.gif" Checkable="False" sngSel="False">
        <
Node Text="Folder1" Value="196" Category="AppFolder" Visible="True" Enabled="True" Tooltip="" ImageURL="images/folder.gif" Checkable="False" sngSel="False">
            <
Node Text="Program1a" Value="" Category="AppProgram" Checked="False" Tooltip="" ImageURL="images/program.gif" Visible="False" prgPfx="" />
            <
Node Text="Program1b" Value="" Category="AppProgram" Checked="False" Tooltip="" ImageURL="images/program.gif" Visible="False" prgPfx="" />
            <Node Text="Program1c" Value="" Category="AppProgram" Checked="False" Tooltip="" ImageURL="images/program.gif" Visible="False" prgPfx="" />
        </
Node>
        <Node Text="Folder2" Value="197" Category="AppFolder" Visible="True" Enabled="True" Tooltip="" ImageURL="images/folder.gif" Checkable="False" sngSel="False">
            <Node Text="Program2a" Value="" Category="AppProgram" Checked="False" Tooltip="" ImageURL="images/program.gif" Visible="False" prgPfx="" />
            <
Node Text="Program2b" Value="" Category="AppProgram" Checked="False" Tooltip="" ImageURL="images/program.gif" Visible="False" prgPfx="" />
            <Node Text="Program2c" Value="" Category="AppProgram" Checked="False" Tooltip="" ImageURL="images/program.gif" Visible="False" prgPfx="" /><
        /
Node>
    </Node>
</
Tree> 
Yana
Telerik team
 answered on 05 Feb 2010
5 answers
625 views
Hi i was using

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/detailtabledatabind/defaultcs.aspx

approach to display a grid with one child table, and data is all driven from code behind.

in the example C# code we have following code to expand first row

            protected void RadGrid1_PreRender(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
RadGrid1.MasterTableView.Items[0].Expanded = true;
RadGrid1.MasterTableView.Items[0].ChildItem.NestedTableViews[0].Items[0].Expanded = true;
}
}

Question is how do i expand rows who's child table has more than zero record in it and other rows which doesn't have any
records should not be expanded.

Please let me know... 

Thank you
Venu.
Radoslav
Telerik team
 answered on 05 Feb 2010
0 answers
98 views

Clem
Top achievements
Rank 1
 asked on 05 Feb 2010
4 answers
205 views
Hi,

I want to hide few columns when the button is clicked.

thanks.
Mark Galbreath
Top achievements
Rank 2
 answered on 05 Feb 2010
3 answers
123 views
Hi,
I'm using a RadWindow as a modal form to diplay enlarged pictures on my site. The problem is, I also have a RadMenu on my page the the menubar appears in front of the RadWindow. Is there a way to have the RadWindow appear in front of the RadMenu?

Also, Is this the correct control to use for a Modal form? I didn't see a RadModalForm or anything like that?
Thanks
Rob Venable
Top achievements
Rank 1
 answered on 05 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?