Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
139 views
Hello,
        i am using the RadEditor in my project.but when i try to bind the data to RadEditor by using it's content property as

// sample code
Dim NewStr as string
NewStr = "Data from database" //i m bindind the data from database here.(min 150 lines of text)
RadComplaint.Content = NewStr

it takes longer time to load the page.
please provide the solution for this.

Regards,
 Satish
Rumen
Telerik team
 answered on 04 Feb 2010
1 answer
51 views
Hi


                In Hierarchical Data Binding  if there is only one child in a tab autopostback is not working in all the radtheme.
Yana
Telerik team
 answered on 04 Feb 2010
1 answer
76 views
Hi,
I have downloaded RAD Ajax control and want to use it in my application but am getting an error shown below.Can you please help me urgently?

'~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config. Please, use the control Smart Tag to add the handler automatically, or see the help for more information: Controls > RadScriptManager

Dimo
Telerik team
 answered on 04 Feb 2010
5 answers
254 views
I have a web page with RadTreeView control in , the control is using checkbox for each item.
The user is required to check some item before submitting, after submittion , if the user uses the IE back button he founds the desired items checked however, when he re-submits. the items is not send as the control is not checked the control is displaying it as checked however , it doesn't refer to items as checked.


Veselin Vasilev
Telerik team
 answered on 04 Feb 2010
0 answers
83 views
Hi

I have used radcombobox selectedindexchanged property. Its work fine on localhost.. but when after upload it shows an error in messagebox alert "Stack overflow at line 0"... , In javascript errors it shows the error like "To much recursion"


Does anybody know then please tell me how to resolve this.

Thanks
jagvir



jagvir singh
Top achievements
Rank 1
 asked on 04 Feb 2010
1 answer
185 views
I am trying to dynamically create some RadPanelItems according to the user input no. e.g. When user input 3, I will dynamically create 3 RadPanelItems. And in each RadPanelItems will have some textboxes and button for user to use. The controls in each RadPanelItem are the same. But when the use click on the button inside the RadPanelItem. All the runtime created controls disappeared. Is there anything work arround to solve that?

Hear is my code

    Protected Sub btnTest_Click(ByVal sender As Object, ByVal e As System.EventArgs)
        If txtNoOfInd.Text.Trim IsNot String.Empty Then

            CreatePanels(txtNoOfFrm.Text)
        end if
   End Sub

Sub CreatePanels(ByVal NoOfFrm As Integer)

            For i As Integer = 1 To NoOfInd

                Dim NoOfPersons As Integer = txtNoOfInd.Text

                Dim table1 As HtmlTable
                Dim Row As HtmlTableRow
                Dim Cell As HtmlTableCell
                Dim txtName As TextBox
                Dim lblName As Label
                Dim btnNext As Button

                txtName = New TextBox
                txtName.ID = "txtName" & i.ToString

                lblName = New Label
                lblName.ID = "lblName" & i.ToString
                lblName.AssociatedControlID = "txtName" & i.ToString
                lblName.Text = "Name:"

                btnNext = New Button
                btnNext.ID = "btnNext" & i.ToString
                btnNext.Text = "Next"

                table1 = New HtmlTable
                Row = New HtmlTableRow
                Cell = New HtmlTableCell

                Cell.Controls.Add(lblName)
                Cell.Controls.Add(txtName)
                Cell.Controls.Add(btnNext)
                Row.Cells.Add(Cell)
                table1.Rows.Add(Row)

                Dim newParentItem As RadPanelItem = New RadPanelItem()
                Dim newChildItem As RadPanelItem = New RadPanelItem()

                newParentItem.Items.Add(newChildItem)
                newChildItem.Controls.Add(table1)
                newParentItem.Text = i.ToString
                If i = 1 Then
                    newParentItem.Expanded = True
                End If

                RadPanelBar1.Items.Add(newParentItem)
            Next
    End Sub



Yana
Telerik team
 answered on 04 Feb 2010
3 answers
135 views
Why is RadScheduler1_AppointmentClick only fired with a double click. is it possible to call this with a single click please?

Thanks a lot

Kati
Yana
Telerik team
 answered on 04 Feb 2010
2 answers
161 views
Hi,

I need to programmatically access the checkbox in the column header of a "GridClientSelectColumn" column in the RadGrid control. I tried but with no luck. Can anyone give me the code snippet for the same?

Thanks
Phani Musale
Top achievements
Rank 1
 answered on 04 Feb 2010
1 answer
92 views
Hi

I am creating a RadSlider in code (vb.net) and adding it to the page when the page loads.
This works correctly in IE and Safari, but the control just does not shown in Firefox.

The HTML is there but to control is not visible.


Tsvetie
Telerik team
 answered on 04 Feb 2010
3 answers
152 views
I have a RadGrid on my page which contains a NestedViewTemplate.  Every level of the hierarchy has its LoadMode set to "ServerOnDemand".

                <telerik:RadGrid ID="rgMonthly" runat="server" GridLines="None" DataSourceID="odsAcctsByPI" 
                    OnColumnCreated="rgMonthly_ColumnCreated" OnItemDataBound="rgMonthly_ItemDataBound" 
                    OnPreRender="rgMonthly_PreRender" AutoGenerateColumns="true"> 
                    <MasterTableView DataSourceID="odsAcctsByPI" DataKeyNames="SlAcct6Num" HierarchyLoadMode="ServerOnDemand" 
                        EnableColumnsViewState="False"> 
                        <NestedViewSettings DataSourceID="odsGroupsByAcct"> 
                            <ParentTableRelation> 
                                <telerik:GridRelationFields DetailKeyField="SlAcct6Num" MasterKeyField="SlAcct6Num" /> 
                            </ParentTableRelation> 
                        </NestedViewSettings> 
                        <NestedViewTemplate> 
                            <telerik:RadGrid ID="rgSubs" runat="server" GridLines="None" DataSourceID="odsGroupsByAcct" 
                                AutoGenerateColumns="true" OnColumnCreated="rgSubs_ColumnCreated"  OnItemDataBound="rgSubs_ItemDataBound"> 
                                <MasterTableView DataSourceID="odsGroupsByAcct" DataKeyNames="SlAcct6Num,GroupID" 
                                    HierarchyLoadMode="ServerOnDemand" EnableColumnsViewState="False"> 
                                    <DetailTables> 
                                        <telerik:GridTableView Width="100%" runat="server" HierarchyLoadMode="ServerOnDemand" 
                                            AutoGenerateColumns="true" EnableColumnsViewState="False" DataKeyNames="SlAcct6Num,GroupID" 
                                            DataSourceID="odsSubAcctsByGroup"> 
                                            <ParentTableRelation> 
                                                <telerik:GridRelationFields DetailKeyField="GroupID" MasterKeyField="GroupID" /> 
                                                <telerik:GridRelationFields DetailKeyField="SlAcct6Num" MasterKeyField="SlAcct6Num" /> 
                                            </ParentTableRelation> 
                                        </telerik:GridTableView> 
                                    </DetailTables> 
                                </MasterTableView> 
                            </telerik:RadGrid> 
                        </NestedViewTemplate> 
                    </MasterTableView> 
                </telerik:RadGrid> 
 

When I attempt to export data to Excel, only the top-level data is being exported.  Here is the code I use to export.

protected void btnExcel_Click(object sender, EventArgs e) 
{ 
    rgMonthly.ExportSettings.OpenInNewWindow = true; 
    rgMonthly.ExportSettings.ExportOnlyData = true; 
    rgMonthly.ExportSettings.IgnorePaging = true; 
    foreach (GridDataItem gi in rgMonthly.MasterTableView.Items) 
    { 
        gi.Expanded = true; 
        if (gi.HasChildItems) 
        { 
            RadGrid rgSubs = (RadGrid)gi.ChildItem.NestedViewCell.Controls[0].Controls[1]; 
 
            foreach (GridDataItem gilvl3 in rgSubs.MasterTableView.Items) 
            { 
                if (!gilvl3.KeyValues.Contains("-1")) 
                { 
                    gilvl3.Expanded = true; 
                } 
            } 
        } 
    } 
    rgMonthly.MasterTableView.ExportToExcel(); 
} 
 

If every level is set to "ServerBind", then I am able to get an export of all the data.  However, I would prefer to use "ServerOnDemand" as it is quicker to navigate prior to export.

Is there any way to get all the data to export using "ServerOnDemand"?

Thanks,

Brian Furner



Daniel
Telerik team
 answered on 04 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?