Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
45 views
Hi,
i'm using  Auto-generated Edit Form to insert record to the data base.I have 20 text boxes to insert data.Now all the text boxes are display in one column (after one by one).I want to display this tetboxes using two columns.(Something like colspan 2). How can i do this ?.
Trs
Top achievements
Rank 1
 asked on 03 Jan 2013
0 answers
31 views
Hi,
i'm using  Auto-generated Edit Form to insert record to the data base.I have 20 text boxes to insert data.Now all the text boxes are display in one column (after one by one).I want to display this tetboxes using two columns.(Something like colspan 2). How can i do this ?.
Trs
Top achievements
Rank 1
 asked on 03 Jan 2013
3 answers
105 views

Hi,

I have a result like this ....

Unit

Dec-12

Jan-13

GrandTotal

000

0

2

2

001

34

0

34

002

12

0

12

003

12

0

12

006

22

0

22

007

10

0

10

ACC

22

0

22

CLM

45

0

45

ESSP

917

9

926

IT

162

0

162

NBDU

602

0

602

OP

22

0

22

ORP

117

0

117

RI

10

0

10

SM

80

0

80


How to bind above result to chart ( stacked bar )

Desired result is :   Grand Total no need ..

 



Thank you in advance ..
Madhu Palakurthi
Top achievements
Rank 1
 answered on 03 Jan 2013
3 answers
119 views
We upgraded our Telerik components from 2011.2 to 2012.3. We use the client side row selecting(ClientEvents.OnRowSelecting) and row selected(ClientEvents.OnRowSelected) events to let other components react on the row selection.

With the new components we have two problems by selecting rows with shift pressed:
1. the given DomEvent by the eventArgs only provides the property "CtrlKey" so we can not detect anymore if the row select events are triggers for a single row or for multiple rows(by shift pressed).
2. for the row which is clicked with shift pressed we want to know which cell was clicked by using the domEvent.scrElement or domEvent.target.

Can you help me with this to make it work as before?
Eyup
Telerik team
 answered on 03 Jan 2013
3 answers
190 views
Hi All,

I am using Radgrid into NestedViewTemplate(Hierarchy Grid). i want to add datasourceid in code behind. i have write code in parent grid itemDataBound like this

 If TypeOf e.Item Is GridNestedViewItem Then
            Dim nesItem As GridNestedViewItem = DirectCast(e.Item, GridNestedViewItem)
            Dim rgQuesSection As RadGrid = DirectCast(nesItem.FindControl("rgQuesSection"), RadGrid)
            Dim rgQuesPanel As RadGrid = DirectCast(nesItem.FindControl("rgQuesPanel"), RadGrid)
            Dim nestedView As GridNestedViewSettings
            nestedView.DataSource = "sdsQuesSection"
            nesItem.Controls.Add(nestedView )
        End If

But GridNestedViewSettings come like nothing. Please let me know how to solve.

Thanks in Advance,
Dhamu.
Shinu
Top achievements
Rank 2
 answered on 03 Jan 2013
1 answer
114 views
Through very much trial and error I have discovered a repeatable issue/bug with the RadTreeView inside of a RadWindow.  This issue occurs in IE9 and the latest Chrome, I have not tried FireFox yet.

Version of Telerik.Web.UI is 2012.2.607.35

When placing a RadTreeView inside of a RadWindow's ContentTemplate, if any of the RadTreeNodes text property contains the character sequence "trial" the contents of the RadWindow are displayed at the bottom of the page.  After clicking the RadWindow's OpenerElement, the contents disappear from the bottom of the page and appear correctly inside the RadWindow.

Simply change any of the nodes text property to something that does not contain the word "trial" everything works properly.  I am including simple code blocks below that should reproduce the problem.  Note that there is a PopulateNodes() subroutine in the code-behind page; this issue occurs when adding nodes to the RadTreeView programmatically as well.

Please help with this very bizarre bug.  I am happy to provide any additional information you need to reproduce this problem.

aspx page:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="IndustrialBug.aspx.vb" Inherits="IndustrialBug" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="rsManager" runat="server"></telerik:RadScriptManager>
    <asp:LinkButton ID="cmdOpen" runat="server">Open Radwin</asp:LinkButton>
    <telerik:RadWindow ID="rwinSelectStores" runat="server" >
        <ContentTemplate>
            <telerik:RadTreeView ID="rtvStores" runat="server">
                <Nodes>
                    <telerik:RadTreeNode Text="Top node" Expanded="true">
                        <Nodes>
                            <telerik:RadTreeNode Text="Under the top node" Expanded="true">
                                <Nodes>
                                    <telerik:RadTreeNode Text="Node contains trial" Expanded="true"></telerik:RadTreeNode>
                                </Nodes>
                            </telerik:RadTreeNode>
                        </Nodes>
                    </telerik:RadTreeNode>
                </Nodes>
            </telerik:RadTreeView>
        </ContentTemplate>
    </telerik:RadWindow>
    </form>
</body>
</html>

code-behind:
Imports Telerik.Web.UI
 
Partial Class IndustrialBug
    Inherits System.Web.UI.Page
 
 
    Private Sub PopulateNodes()
        rtvStores.Nodes.Clear()
        Dim nTop As New RadTreeNode()
        Dim nSub1 As New RadTreeNode()
        Dim nBottom As New RadTreeNode()
 
 
        nTop.Text = "Top node here"
        nTop.Expanded = True
        nTop.Checked = False
        rtvStores.Nodes.Add(nTop)
 
        nSub1.Text = "Trial"
        nSub1.Expanded = True
        nSub1.Checked = False
        nTop.Nodes.Add(nSub1)
 
        nBottom.Text = "Bottom node"
        nBottom.Expanded = True
        nBottom.Checked = False
        nSub1.Nodes.Add(nBottom)
    End Sub
 
    Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
        rwinSelectStores.OpenerElementID = cmdOpen.ClientID
        'PopulateNodes()
    End Sub
End Class

Shinu
Top achievements
Rank 2
 answered on 03 Jan 2013
2 answers
87 views
Hi

when i add row to grid view added row will go to last row.i wanted to show newly added row always top. 
How can i achieve this.. Please help me out.


Regards,
Sanjay
sanjay
Top achievements
Rank 1
 answered on 03 Jan 2013
2 answers
72 views

I want to do something like
"Fill Textbox of bound column in Add new Iten Mode on Dropdown selectIndexChanged in RadGrid.

e.g.  When I Click ADD NEW ITEM then Row with input controls will displayed. when I change DDL's value then according it all other textbox (whatever) will filled.

My Que. is How to get that Controls in DDL's SelectIndexChanged Event ??

Ajay
Top achievements
Rank 1
 answered on 03 Jan 2013
1 answer
100 views

I'm trying to databind a combobox for a filter on a radgrid. I can't seem to be able to find the filter control when i try the following, nothing happens.

foreach (GridFilteringItem filterItem in InitAlerts.MasterTableView.GetItems(GridItemType.FilteringItem))
{
    RadComboBox initLoans = (RadComboBox)filterItem.FindControl("InitLoan");

    var loannumber = (from DataRow dRow in initTable.Rows
                        select new { loan_number = dRow["loan_loan_number"] }).Distinct().ToList(); 

    initLoans.DataSource = loannumber;
    initLoans.DataBind();
    Label1.Text = initLoans.ID.ToString();
}

Also, this is just running in Page_Load, if that makes a difference...

Shinu
Top achievements
Rank 2
 answered on 03 Jan 2013
2 answers
26 views
I'd like to direct your attention to this sample page: http://msdn.microsoft.com/en-us/library/w0x726c2%28v=vs.100%29.aspx

I have to build a Help section for a website app.  It will have about 20 - 30 pages in it.  I rather like the simplistic design that Microsoft has used for their aforementioned MSDN help.

If I were building those MSDN pages, here's what I'm thinking I would do:
  1. Have a main master page for the header & footer.
  2. Have a secondary master page for the content on the left.  It would consist of a RadSplitter containing a RadSlidingPane, which itself contained a RadTreeView.
  3. Then the bulk of the space in the middle would contain a Web Content Form which referenced the secondary master page.

Does this approach sound reasonable & logical to you or would you build it differently?

Robert

Robert
Top achievements
Rank 1
 answered on 02 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?