Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
133 views
Hi.

So, I installed Visual Studio 2010 Premium RTM but I had previously installed Telerik RadControls for ASP.NET AJAX Q1 2010. The controls show up in the toolbox but VSX is not in the menu. Is there a way to register it without re-installing RadControls?

Thanks.
Jose
Jose
Top achievements
Rank 2
 answered on 15 Apr 2010
4 answers
155 views
I am trying to build a treeview where each root node has a member name, below each name i am trying to create a listview of items that are associated to each member based on memberid.

The treeview nodes cannot be dragged or edited, the listview should allow for add/update and delete functionality.





I am having trouble creating the listview in the child template.

Any assistance would be appreciated.


Kevin Mauriello
Top achievements
Rank 1
 answered on 14 Apr 2010
1 answer
93 views
Hi Folks,

I am trying to to get the itemindex in the textchanged event.

Can anyone help me out on this.
Protected Sub txtEditPileDia_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) 
        Try 
            objDetailInfo = New NDSBLL.DetailInfo 
            objDetailDal = New NDSDAL.DetailDal 
            Dim txtNewPileDia As TextBox 
            Dim txtLinkStart As TextBox 
            Dim txtLinkEnd As TextBox 
            'Dim txtAdditionalSpiral As TextBox 
            Dim intIndex As Integer = ???? 
            txtNewPileDia = DirectCast(gvStructDetails.Rows(intIndex).FindControl("txtPileDia"), TextBox) 
            txtLinkStart = DirectCast(gvStructDetails.Rows(intIndex).FindControl("txtEditNoLinksStart"), TextBox) 
            txtLinkEnd = DirectCast(gvStructDetails.Rows(intIndex).FindControl("txtEditNoLinksEnd"), TextBox) 
            'txtAdditionalSpiral = DirectCast(gvStructDetails.Rows(intIndex).FindControl("txtEditNoAdditionalSpiral"), TextBox) 
            If ((Not txtLinkStart Is Nothing) And (Not txtLinkEnd Is Nothing) And (Not txtNewPileDia Is Nothing)) Then 
                PopulateLinksValues(txtNewPileDia, txtLinkStart, txtLinkEnd) 
            End If 
        Catch ex As Exception 
            ErrorHandler.RaiseError(ex, strPath) 
        End Try 
 
    End Sub 

Below is my Code and the line below is wht i am expecting.....

 Dim intIndex As Integer = ????


Thanks
Satya
Daniel
Telerik team
 answered on 14 Apr 2010
2 answers
164 views
Hello,
I have a database with the columns NewsID, date, category, title and content. I want to show the date, category and title in a Telerik Listview. When you click on the title (which is a hyperlink in the listview), I want to load a subpage with the full article (title+content). In which subpage it is loaded, depends on the category of the article. When the category is for example 'general', it is loaded in the default-page. When the category is 'dogs', it is loaded in subpages/dogs.aspx. When the category is 'fishes', it is loaded in subpages/fishes.aspx.

When I use a standard datalist, I do it in the following way:
 
    Protected Sub DataList_ItemDataBound(ByVal sender As ObjectByVal e As System.Web.UI.WebControls.DataListItemEventArgs) Handles DataList.ItemDataBound  
        Select Case e.Item.ItemType  
            Case ListItemType.Item, ListItemType.AlternatingItem  
                Dim myRow As DataRowView = CType(e.Item.DataItem, DataRowView)  
                Dim hype As HyperLink = e.Item.FindControl("DatalistHyperlink")  
                If myRow.Item("category") = "General" Then 
                    hype.NavigateUrl = "default.aspx?NewsID=" & myRow.Item("NewsID")  
                Else 
                    hype.NavigateUrl = "subpages/" & myRow.Item("category") & ".aspx?NewsID=" & myRow.Item("NewsID")  
                End If 
        End Select 
    End Sub 
 
What is the solution for this problem when I use a Telerik-listview instead of a standard datalist?

Thanks in advance.
David De Backer
Top achievements
Rank 1
 answered on 14 Apr 2010
5 answers
369 views
Hi,
how to change background color of RadWIndow in css file in the Telerik version (2009)?
Thx.
Andrew
Top achievements
Rank 1
Veteran
Iron
 answered on 14 Apr 2010
2 answers
134 views
Hi,
this is my first time: i've never before posted something here but now I need your help
Yesterday we have upgraded all PCs in our company to Visual Studio 2010 (official version) and before this I've worked on a project with VIsual Studio 2010 Beta and Telerik's ASP.NET AJAX Controls Q1 2010. Yesterday (before installing VS 2010) all works correctly but now when I try to add a control in design wiev, I can't find the controls in VS 2010 Toolbox. I tried to uninstall and reinstall Telerik again but whitout a sollution. Anyway, in the code wiev I can add all constrols correctly, but sometimes I need to use design wiev too. I tried to add a new Telerik ASP.NET AJAX project but i cannot find Telerik controls in Toolbox window in this project too. Where can be the problem?
Thanks,

Michele
Michelle
Top achievements
Rank 1
 answered on 14 Apr 2010
1 answer
185 views
I am looking for sample or any source of 'How to use RadScheduler with sql stored procedures'. I do not want to bind control at design time. I need it at run time only.
 I really appreciate, if anybody can give me a link to any source.

Thank you
Peter
Telerik team
 answered on 14 Apr 2010
1 answer
108 views
Hello,

I'm trying to take advantage if the new AutogenerateHierarchy feature of the RadGrid.  Once I assign the data source, I'd like to programmatically apply certain formatting like sorting, grouping, etc to the Master and DetailTables.  So my question is - how do I access the DetailTables if all I have is the tables' names?  I really wish I could do something like myGrid.Tables[tableName].SortExpressions.  What's the best elegant way I can set these properties?

Thank you for your help!
Pavlina
Telerik team
 answered on 14 Apr 2010
4 answers
104 views
Hi,

I am using Telerik.Web.Design.dll - ( Version number - 2010.1.309.40 ). and in my page I am havinf hierarchy grid. On Expand Page Footer I am in (Page Number) is getting added at the top on all the grids.

What is the problem with the hierarchy grid? How to fix the above issue? I have also attached my screen shot after clicking on expand button.

Pavlina
Telerik team
 answered on 14 Apr 2010
3 answers
224 views
Hi there,

My desired behavior is:
* On initial rendering of the grid, the columns are auto-sized to their contents (I set Table Layout = "auto")
* The user can resize columns to make them bigger or smaller (I set the resize options to true, real time resize, and resize grid on resize)
* On postback / pagination I want all columns to retain widths

Issue:
* On postback the user sized columns retain widths but all other columns shrink as if Table Layout was set to Fixed with no scrolling.

My grid follows.

thanks!

d

                <telerik:RadGrid ID="RadGrid1" Width="100%" Height="450px" AllowPaging="True" PageSize="15"  
                    runat="server" AllowSorting="False" OnNeedDataSource="RadGrid1_NeedDataSource" 
                    GridLines="None" AllowFilteringByColumn="False" ShowGroupPanel="False" EnableHeaderContextMenu="False" 
                    OnColumnCreated="RadGrid1_ColumnCreated" OnColumnCreating="RadGrid1_ColumnCreating" 
                    OnDataBound="RadGrid1_DataBound" OnPreRender="RadGrid1_PreRender" EnableViewState="false" 
                    OnItemDataBound="RadGrid1_ItemDataBound"
                    <HeaderContextMenu EnableAutoScroll="True"
                    </HeaderContextMenu> 
                    <MasterTableView Width="100%" AutoGenerateColumns="true" EnableColumnsViewState="false" TableLayout="Auto" /> 
                    <PagerStyle Mode="NextPrevAndNumeric"  
                        FirstPageImageUrl="/images/pagingfirst.gif"  
                        LastPageImageUrl="/images/paginglast.gif"  
                        NextPageImageUrl="/images/pagingnext.gif"  
                        PrevPageImageUrl="/images/pagingprev.gif" /> 
                    <ClientSettings AllowColumnsReorder="False" AllowDragToGroup="False" ReorderColumnsOnClient="False" 
                        Resizing-AllowColumnResize="True" Resizing-AllowRowResize="False" Resizing-ClipCellContentOnResize="False" 
                        Resizing-EnableRealTimeResize="True" Resizing-ResizeGridOnColumnResize="True"
                        <Scrolling AllowScroll="True" UseStaticHeaders="True" /> 
                    </ClientSettings> 
                    <FilterMenu EnableTheming="False"
                        <CollapseAnimation Duration="200" Type="OutQuint" /> 
                    </FilterMenu> 
                </telerik:RadGrid> 

Pavlina
Telerik team
 answered on 14 Apr 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?