Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
93 views
hi

I would like to disable gridHyperlinkcolumn based on condition of a gridboundcolumn value. How should i go about it ? Thanks
L
Top achievements
Rank 1
 answered on 19 Mar 2010
6 answers
149 views

Hi all,
I test this case in 2009 Q3 1314 and 2010 Q1 but the result is same. All of products are binding to each of category master row. But my others web page does not occur this logical bug!
please advice, thank you.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title></title>  
</head> 
<body> 
    <form id="form1" runat="server">  
    <div> 
        <asp:ScriptManager ID="ScriptManager1" runat="server">  
        </asp:ScriptManager> 
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
            <AjaxSettings> 
                <telerik:AjaxSetting AjaxControlID="RadGrid1">  
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1"   
                            LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
            </AjaxSettings> 
        </telerik:RadAjaxManager> 
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">  
        </telerik:RadAjaxLoadingPanel> 
        <asp:AccessDataSource ID="AccessDataSource1" runat="server"   
            DataFile="~/App_Data/dbmx_with_category.mdb"   
            SelectCommand="SELECT * FROM [Categories] where isDelete = false"></asp:AccessDataSource> 
        <asp:AccessDataSource ID="AccessDataSource2" runat="server"   
            DataFile="~/App_Data/dbmx_with_category.mdb"   
            SelectCommand="SELECT * FROM [Products] where isDelete= False"></asp:AccessDataSource> 
        <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateDeleteColumn="True"   
            AutoGenerateEditColumn="True" DataSourceID="AccessDataSource1" GridLines="None">  
<MasterTableView AutoGenerateColumns="False" DataKeyNames="categoryID"   
                DataSourceID="AccessDataSource1" HierarchyLoadMode="ServerBind">  
    <DetailTables> 
        <telerik:GridTableView runat="server" DataKeyNames="productID"   
            DataSourceID="AccessDataSource2">  
            <ParentTableRelation> 
                <telerik:GridRelationFields DetailKeyField="categoryID"   
                    MasterKeyField="categoryID" /> 
            </ParentTableRelation> 
            <RowIndicatorColumn> 
                <HeaderStyle Width="20px" /> 
            </RowIndicatorColumn> 
            <ExpandCollapseColumn> 
                <HeaderStyle Width="20px" /> 
            </ExpandCollapseColumn> 
        </telerik:GridTableView> 
    </DetailTables> 
<RowIndicatorColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</RowIndicatorColumn> 
 
<ExpandCollapseColumn Visible="True">  
<HeaderStyle Width="20px"></HeaderStyle> 
</ExpandCollapseColumn> 
    <Columns> 
        <telerik:GridBoundColumn DataField="categoryID" DataType="System.Int32"   
            HeaderText="categoryID" ReadOnly="True" SortExpression="categoryID"   
            UniqueName="categoryID">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="categoryTitle" HeaderText="categoryTitle"   
            SortExpression="categoryTitle" UniqueName="categoryTitle">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="categoryIcon" HeaderText="categoryIcon"   
            SortExpression="categoryIcon" UniqueName="categoryIcon">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="categorySequence" DataType="System.Int32"   
            HeaderText="categorySequence" SortExpression="categorySequence"   
            UniqueName="categorySequence">  
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="categoryParentID" DataType="System.Int32"   
            HeaderText="categoryParentID" SortExpression="categoryParentID"   
            UniqueName="categoryParentID">  
        </telerik:GridBoundColumn> 
        <telerik:GridCheckBoxColumn DataField="isDelete" DataType="System.Boolean"   
            HeaderText="isDelete" SortExpression="isDelete" UniqueName="isDelete">  
        </telerik:GridCheckBoxColumn> 
    </Columns> 
</MasterTableView> 
        </telerik:RadGrid> 
    </div> 
    </form> 
</body> 
</html> 
 
louis chan
Top achievements
Rank 1
Iron
 answered on 19 Mar 2010
2 answers
127 views
Hi is it possible to change the size of the popup preview window that displays the image when you double-click on the item in the FileExplorer? I see that I could in the worst case create my own preview display by using the "add_fileOpen(eventHandler)" client event.

Thank you, Christopher
Christopher Zimmermann
Top achievements
Rank 1
 answered on 19 Mar 2010
2 answers
145 views
I'm trying to get a section of code working based upon this example here:

http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx

I am getting an error at the spot where in the Telerik example they are displaying the DetailsView.

The error is saying that the DetailsView can not find the SqlDataSource which it is pointed at and yet the two items are right next to each other in the source code.

Even if I just experimentally add another control right there like a grid and use the smart tag and select a data source it sees it in the dropdown of choices for data sources but when I run the page in testing I get this error.

There must be some loss of context here and I just can't figure out what's going on.

I seem to have made the mistake of wearing my dunce cap to work today.  Any help appreciated.
John Cooney
Top achievements
Rank 1
 answered on 19 Mar 2010
2 answers
232 views
I have been playing with a few ASP AJAX packages including DevExpress, ComponentOne, Infragistics and ofc Telerik. I believe that Telerik offers the best all-round package, however, I noticed that the RadWindow equivalents from the other vendors all offer drop-shadows around the window. Is this something you are planning to add in the (near) future?
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 19 Mar 2010
1 answer
116 views
I was able to get it to build properly, i had a ' instead of a ". However i can not get it to the right level of nodes.

I would like it to start at the 2nd tier of my sitemap, and display only tiers 2, and 3

For example, my XML is formatted:

Tier 0 <HOME>
Tier 1 <Top Level Nav>
Tier 2 <Main Nav Item>
Tier 3< Sub Nav>

<telerik:RadSiteMap runat="server" ID="RadSiteMap1"  
        DataSourceID="SiteMapDataSource1" DataNavigateUrlField="Url"  
            DataTextField="Title"
            
            <LevelSettings> 
                
                <telerik:SiteMapLevelSetting Level="3" MaximumNodes="0"
                    <NodeTemplate> 
                       <href="<%# DataBinder.Eval(Container.DataItem, "url") %>"
                            <%# DataBinder.Eval(Container.DataItem, "title") %></a
                    </NodeTemplate> 
                </telerik:SiteMapLevelSetting> 
                 
                <telerik:SiteMapLevelSetting Level="4" MaximumNodes="0"
                    <NodeTemplate> 
                        <div> 
                             <span class="qmdivider qmdividerx" ></span
                            <href="<%# DataBinder.Eval(Container.DataItem, "url") %>"
                                <%# DataBinder.Eval(Container.DataItem, "title") %> 
                            </a> 
                        </div> 
                    </NodeTemplate> 
                </telerik:SiteMapLevelSetting> 
                
                
                
            </LevelSettings> 
        </telerik:RadSiteMap> 

djhushd
Top achievements
Rank 1
 answered on 18 Mar 2010
4 answers
180 views
Hi,
I have modified the permission level for some users in my SharePoint site collection so that they cannot access the Manage Content and Structure.

The problem is, when they are editing a page and wish to add a link, they receive a 403 forbidden error.

Does any one know what I can do to get around this? Ideally Telerik will have developed a link manager which is along the lines of the image manager but I'm not sure if this, or something similar is available, or not.

Any help on this would be terrific so please get back as soon as you can.

Thanks,
Joe
T J
Top achievements
Rank 1
 answered on 18 Mar 2010
1 answer
99 views
I am populating the nodes of a treeview on demand via a web service. The code I have that creates the nodes is as follows:
            RadTreeNodeData c = new RadTreeNodeData();
            c.Value = child.Attribute("id").Value;
            c.Text = child.Attribute("title").Value;
            c.ImageUrl = ".\\images\\objectIcons\\" + child.Attribute("icon").Value;
Everything looks great in IE 7, Chrome, and Safari but, for some reason, the images do not show up in Firefox.

It is the same for the context menus I am creating. Here is the code for that:

                            RadMenuItem item = new RadMenuItem("Add " + child[1]);
                            item.Value = child[0];
                            item.ImageUrl = ".\\images\\objectIcons\\" + child[2];

Has anyone experienced this before?

I have tried wrapping the url in singl quotes like:

c.ImageUrl = "'.\\images\\objectIcons\\" + child.Attribute("icon").Value + "'";

But, that doesn't help firefox, and it breaks the other browsers.

I have looked for examples of setting ImageUrl on the server in a way that is acceptable for all browsers but, I haven't found any examples yet.

Thanks for whatever advice you can give



Roger
Top achievements
Rank 1
 answered on 18 Mar 2010
1 answer
133 views
Hi

How do we upgrade the rad control version

I have one project done in Rad Q1 2007

now i want to update the project to use Rad 2009 version

Is there any default upgrade available other than code change


Regards

Sooraj Sudhakaran.T
Daniel
Telerik team
 answered on 18 Mar 2010
7 answers
183 views
Hi there is there any way to set the root node to a folder and let RadTreeView populate the subdirectories?
JoeC
Top achievements
Rank 1
 answered on 18 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?