Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
170 views
Could someone advise on when Office 2010 Ribbon controls will be available for
each of the products please e.g. ASP.Net Ajax UI Controls, WinForms UI Controls etc.

Thanks

Mike
Ivo
Telerik team
 answered on 26 Oct 2009
1 answer
116 views
hi guys this is how i retrieve data from database and put it to a grid with auto generate column
dim rs as sqldatareader
dim dt as datatable
dt.load(rs)
radgrid1.datasource=dt
radgrid1.databind


so let say my grid come out like this

column1               column2                     column3
1                            test                            link1
2                            test2                          link2
3                            test3                          link3

my question is how do i make column a link so that i can click on link1 and it takes me to yahoo, link2 takes me to google and so on with the way i retrieve data above. thank you guys.

please help me.
Shinu
Top achievements
Rank 2
 answered on 26 Oct 2009
1 answer
131 views
Hello,

I'm having some trouble in setting the CausesValidation property of the update button to false while in InPlace edit mode. I've tried the following, but 'update' is always null. This is in the Item_Created event and I have tried placing it in the Item_Command event when Command_Name = "Edit".

if (e.Item is GridEditableItem && e.Item.IsInEditMode)  
        {  
            LinkButton update = (LinkButton)e.Item.FindControl("UpdateButton");  
            update.CausesValidation = false;  
        } 

Thanks,
Casey
Shinu
Top achievements
Rank 2
 answered on 26 Oct 2009
2 answers
186 views
Hi,

I need help in loading the treeview dynamically from the database. On expanding the node the child node data should be loaded dynamically.
 I am currently using DataSourceID, DataTextField, DataFieldID, DataFieldParentID to load data into the treeview which load all the data at once. I want to be able to load the child node data on expanding the parent node. 


Pratima Goda
Top achievements
Rank 1
 answered on 25 Oct 2009
2 answers
142 views
I have a site that is a series of grids.. i have a couple columns set for horizontal width, but more often than not the grids dont have many columns set to a certain size...

I want to make the grid always expand to 100% of its container... and on a few grids, even though i specified the width to be 100%, the grid does not go to the edge of the container...

what would cause this?

Here is the markup of the page... i want the grid to extend to the right edge...

rendered page image





<%@ Page Title="" Language="C#" MasterPageFile="~/cm/cm.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="cm_Default" %> 
 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
 
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"
</asp:Content> 
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"
    
    <telerik:RadGrid ID="rgPageBanners" runat="server" GridLines="None" Width="100%" 
        AllowSorting="True" AllowPaging="True"  
        onneeddatasource="rgPageBanners_NeedDataSource"  
        onitemcommand="rgPageBanners_ItemCommand"
<MasterTableView AutoGenerateColumns="False" DataKeyNames="PageBannersId"  
            CommandItemDisplay="TopAndBottom"
<RowIndicatorColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</RowIndicatorColumn> 
 
<ExpandCollapseColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</ExpandCollapseColumn> 
    <CommandItemSettings AddNewRecordText="Add page banner" /> 
    <Columns> 
        <telerik:GridBoundColumn DataField="PageBannersId" DataType="System.Int32"  
            HeaderText="PageBannersId" ReadOnly="True" SortExpression="PageBannersId"  
            UniqueName="PageBannersId"
        </telerik:GridBoundColumn> 
        
       
        <telerik:GridBoundColumn DataField="PagesId" DataType="System.Int32"  
            HeaderText="PagesId" SortExpression="PagesId" UniqueName="PagesId"
        </telerik:GridBoundColumn> 
        
        <telerik:GridBoundColumn DataField="BannerName" HeaderText="BannerName"  
            SortExpression="BannerName" UniqueName="BannerName"
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="DateCreated" DataType="System.DateTime"  
            HeaderText="DateCreated" SortExpression="DateCreated" UniqueName="DateCreated"
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="DateModified" DataType="System.DateTime"  
            HeaderText="DateModified" SortExpression="DateModified"  
            UniqueName="DateModified"
        </telerik:GridBoundColumn> 
        <telerik:GridCheckBoxColumn DataField="Active" DataType="System.Boolean"  
            HeaderText="Active" SortExpression="Active" UniqueName="Active"
        </telerik:GridCheckBoxColumn> 
        
                  <telerik:GridEditCommandColumn> 
                      <HeaderStyle Width="80px" /> 
                     </telerik:GridEditCommandColumn>                 
        
                    
                     <telerik:GridButtonColumn CommandName="Delete" Text="Delete" ConfirmText="Are you sure?"  
                         UniqueName="DeleteColumn"
                         <HeaderStyle Width="100px" /> 
                     </telerik:GridButtonColumn> 
    </Columns> 
 
<EditFormSettings EditFormType="WebUserControl" UserControlName="~/cm/_uc/pagebanners.ascx" CaptionFormatString="<span class='PopupHeader'>Manage Banner</span>"
<EditColumn UniqueName="EditCommandColumn1"></EditColumn> 
</EditFormSettings> 
</MasterTableView> 
        <ClientSettings> 
            <Selecting AllowRowSelect="True" /> 
        </ClientSettings> 
    </telerik:RadGrid> 
    </asp:Content> 
 
 

sircutbreaker
Top achievements
Rank 1
 answered on 25 Oct 2009
2 answers
535 views
Just a lightweight version of the RadGrid?....or a more flexible version?
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 25 Oct 2009
3 answers
288 views
   Error Rendering Control - RadScriptManager1 An unhandled exception has occurred.
Could not load file or assembly 'Telerik.Web.UI, Version=2009.2.826.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The system cannot find the file specified.

i am getting this error for some control
only for some countols
how can i  solve this?

see a link http://screencast.com/t/i5Vu44Xatka
here   Rad text editor  shows ok.
but listbox and  radscriot manager dont works
kevin
Top achievements
Rank 1
 answered on 25 Oct 2009
2 answers
137 views
I have a tabstrip on my page.
some of my tabs have links to other pages.After I click the link and navigate to another page, if I use the browser back button to go back to the page it takes me back to the first tab page (that is shown on initial load) and not to the tab page that had the link.

I think it might have something to do with the AJAX on the tabstrip but is there a way to navigate back to the tab the user was working on?
dlewis
Top achievements
Rank 1
 answered on 24 Oct 2009
2 answers
293 views
How do you do it?

I currently have:

RadGrid gridFileView = new RadGrid(); 
            gridFileView.ID = gridFileViewID
            gridFileView.EnableEmbeddedSkins = false
            gridFileView.Skin = "FileExplorer"
            gridFileView.AllowPaging = true
            gridFileView.PageSize = 20
            gridFileView.AllowSorting = true
            gridFileView.ClientSettings.AllowRowsDragDrop = true
            gridFileView.ClientSettings.Selecting.AllowRowSelect = true
            gridFileView.ItemDataBound += new GridItemEventHandler(gridFileView_ItemDataBound); 
            gridFileView.RowDrop += new GridDragDropEventHandler(gridFileView_RowDrop); 
            pnlFileView.Controls.Add(gridFileView); 
 
            AddExistingFiles(gridFileView, docs); 
 
            // Add file view context menu 
            ContextMenuControlTarget target = new ContextMenuControlTarget(); 
            target.ControlID = gridFileViewID
 
            RadContextMenu cmFileView = new RadContextMenu(); 
            cmFileView.Targets.Add(target); 
            AddFileViewContextMenuItems(cmFileView); 

I've added a few test menu items in the AddFileViewContextMenuItems function but the menu doesn't appear when I right click over the grid. Do I need to call the context menu with an event on the grid itself?

ayush mohan
Top achievements
Rank 1
 answered on 24 Oct 2009
2 answers
84 views
I'm trying to use the tab control for site navigation. I simply want the content of other ASPX pages on the same site to appear in the tab (or assoicated page view). I've tried the NavigateURL of the tab page. I've tried embedding an IFragein the view page. I have a data entry tab pointing at a data entry ASPX page, a Reports tab pointing at a reports page, an Analysis tab pointing at an analysis page. I do want to preserve the state of each page.

What is the best, or any way, to use a tab control to show the content of pages?
Brian
Top achievements
Rank 1
 answered on 24 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?