Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
293 views
public RadGrid Grid = new RadGrid();
private RadTextBox txtbox = new RadTextBox();
 
protected override void CreateChildControls()
{
txtbox.TextChanged += new EventHandler(txtbox_TextChanged);
 
Controls.Add(txtbox);
Controls.Add(Grid);
txtbox.AutoPostBack = true;
txtbox.Attributes.Add("onkeyup","SendTextBox():");
 
}
 
protected override void OnPreRender(EventArgs e)
{
ClientScriptManager cs = Page.ClientScript;

cs.RegisterStartupScript(this.GetType(), "SendTextBox", "setTimeout('__doPostBack(\'" + txtbox.ID + "\',\'\')', 0);", true);
base.OnPreRender(e);
}
 
protected void txtbox_TextChanged(object sender, EventArgs e)
{
// code for searching in grid
Grid.Rebind();
}


when i write in txtbox ...txtbox_textChanged event is not fired ..Please Help
Mayank
Top achievements
Rank 1
 answered on 10 Mar 2014
1 answer
110 views

Hello Telerik,

Please see this code here:.

01.Dim HBH_Chart As New RadHtmlChart
02.        HBH_Chart.ID = "HBH_Chart"
03.        HBH_Chart.Width = Unit.Pixel(500)
04.        HBH_Chart.Height = Unit.Pixel(500)
05.        HBH_Chart.Legend.Appearance.Position = HtmlChart.ChartLegendPosition.Right
06. 
07.        Dim HBHSeries As New PieSeries
08.        HBHSeries.Name = "HBH1"
09.        HBHSeries.TooltipsAppearance.DataFormatString = "{0}"
10.        HBHSeries.LabelsAppearance.Visible = True
11. 
12.        For Each row As DataRow In dataSet.Rows
13.            Dim item As New SeriesItem
14.            item.YValue = row.Field(Of Integer)("AantalClienten")
15.            item.Name = row.Field(Of String)("Naam")
16.            item.BackgroundColor = System.Drawing.ColorTranslator.FromHtml(row.Field(Of String)("Kleur"))
17.        Next
18. 
19.        HBH_Chart.PlotArea.Series.Clear()
20.        HBH_Chart.PlotArea.Series.Add(HBHSeries)
21.        HBH_Chart.PlotArea.XAxis.DataLabelsField = "Naam"
22.        HBH_Chart.PlotArea.YAxis.LabelsAppearance.DataFormatString = "{0}"
23. 
24.        HtmlChartHolder.Controls.Clear()
25.        HtmlChartHolder.Controls.Add(HBH_Chart)

I try to create a PieChart dynamically. But the only thing that I see is that it takes up it's space in the page (i.e. the placeholder is filled). But the actual chart is not visible. It's see as a white rectangle. What am I missing here?

Thanks a lot for your answer,

Best regards,
Francois





Stamo Gochev
Telerik team
 answered on 10 Mar 2014
8 answers
1.7K+ views
Hi,

I am new to telerik. Now i am using telerik trial version.
I have once scenario.
> Grid contains 10 rows
> One column is template column, which contain a link button
> While click on the link, i need to open a popup, like model window. The model window should show some details about the clicked records.
> Data displayed in the model window based on the arguments received from the link button

Kindly suggest how can i implement this. Which control can i use for getting this feature.

All my bindings are dynamic and i cannot set any datasource in the design.

I need the feature almost similar to hierarchical data grid. Where can get the more details about the real implementation. In the "step-by-step" tutorial it is not much explenatory and datasource is set in the markup itself.
Princy
Top achievements
Rank 2
 answered on 10 Mar 2014
2 answers
127 views
VisualStudio Version is 2012 & Telerik Version=2013.3.1324.40.
And my code is given below.
<telerik:RadAsyncUpload ID="RAUFeatures" runat="server" Style="float: left;" EmptyMessage="Select File..."  >
   </telerik:RadAsyncUpload>
  
 Thanks
 Manish


Manish
Top achievements
Rank 2
 answered on 10 Mar 2014
1 answer
72 views
Hi,

I need a way to load user control in rad page view client side. Any suggestion?

Kliment
Shinu
Top achievements
Rank 2
 answered on 10 Mar 2014
1 answer
83 views
Error when expanding a NestedViewTable in RadGrid when a row is selected and HierarchyLoadMethod is ServerOnDemand.

I have a RadGrid with a NestedViewTable.  HierarchyLoadMethod is set to "ServerOnDemand".  I can expand the NestedViewTable just fine unless I first select a row.  The error message is within a Telerik JS file and reads: "Input string was not in acorrect format."  This works when I set the HierachyLoadMethod to "ServerBind" however this takes way too long.   It appears to be a Telerik issue to me.   Please provide guidance on how I can solve this problems.  Thank you.

-Steve
Princy
Top achievements
Rank 2
 answered on 10 Mar 2014
1 answer
78 views
Hi,

I have the RadCombobox in my page. If i scroll the page after open the radcombo list then the list does not stick with the radcombo. This problem is my whole project so i want the generic resolution for it ASAP.


Thanks & Regards,

Om Prakash
Shinu
Top achievements
Rank 2
 answered on 10 Mar 2014
3 answers
3.1K+ views
All I want to do is click on the CourseName colunm (GridButtonColunm) below and launch an event then retrive the data from that rows bound fields. Please Help.


<telerik:RadGrid   
                                    ID="RadGridResults"   
                                    runat="server" AllowSorting="True" 
                                    AutoGenerateColumns="False" GridLines="None"   
                                    AllowMultiRowSelection="True" Skin="Web20" Font-Bold="False"   
                                    Font-Italic="False" Font-Names="Verdana" Font-Overline="False"   
                                    Font-Strikeout="False" Font-Underline="False"   
                                    OnItemCommand="RadGridResults_ItemCommand">  
                                    <MasterTableView Font-Bold="False" Font-Italic="False" Font-Names="Verdana"   
                                         Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Font-Size="11px" OnItemCommand="RadGridProduct_ItemCommand">   
                                         <rowindicatorcolumn> 
                                             <HeaderStyle Width="20px" /> 
                                         </rowindicatorcolumn> 
                                         <expandcollapsecolumn> 
                                             <HeaderStyle Width="20px" /> 
                                         </expandcollapsecolumn> 
                                         <Columns> 
                                            <telerik:GridBoundColumn DataField="Sequence" Display="false"></telerik:GridBoundColumn> 
                                             <telerik:GridClientSelectColumn UniqueName="colSelect" Display="True">  
                                                 <HeaderStyle Width="40px" Font-Bold="False" Font-Italic="False"   
                                                     Font-Overline="False" Font-Strikeout="False" Font-Underline="False"   
                                                     HorizontalAlign="Center" Wrap="True" /> 
                                                 <ItemStyle BorderStyle="None" Font-Bold="False" Font-Italic="False"   
                                                     Font-Overline="False" Font-Strikeout="False" Font-Underline="False"   
                                                     HorizontalAlign="Center" Wrap="True" /> 
                                             </telerik:GridClientSelectColumn> 
                                             <telerik:GridBoundColumn DataField="Location" HeaderText="Location"   
                                                 SortExpression="Location" UniqueName="colLocation">  
                                                 <HeaderStyle Width="110px" Font-Bold="True" Font-Italic="False"   
                                                     Font-Overline="False" Font-Strikeout="False" Font-Underline="False"   
                                                     ForeColor="White" Wrap="True" /> 
                                                 <ItemStyle BorderStyle="None" /> 
                                             </telerik:GridBoundColumn> 
                                             <telerik:GridBoundColumn DataField="Products" HeaderText="PRODUCT"   
                                                 SortExpression="Product" UniqueName="colProduct">  
                                                 <HeaderStyle Width="100px" Font-Bold="True" Font-Italic="False"   
                                                     Font-Overline="False" Font-Strikeout="False" Font-Underline="False"   
                                                     ForeColor="White" Wrap="True" /> 
                                                 <ItemStyle BorderStyle="None" /> 
                                             </telerik:GridBoundColumn> 
                                             <telerik:GridBoundColumn DataField="Sequence" Display="false"></telerik:GridBoundColumn> 
                                             <telerik:GridButtonColumn   
                                                DataTextField="CourseName"   
                                                HeaderText="COURSE NAME"   
                                                SortExpression="CourseName"   
                                                Text="Button"   
                                                UniqueName="colCourseName">  
                                                 <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False"   
                                                     Font-Strikeout="False" Font-Underline="False" ForeColor="White" Width="260px"   
                                                     Wrap="True" /> 
                                                 <ItemStyle BorderStyle="None" /> 
                                             </telerik:GridButtonColumn> 
                                             <telerik:GridBoundColumn DataField="StartDate" HeaderText="START DATE"   
                                                 SortExpression="StartDate" UniqueName="colStartDate"   
                                                 DataFormatString="{0:M/dd/yyyy}">  
                                                 <HeaderStyle Width="130px" Font-Bold="True" Font-Italic="False"   
                                                     Font-Overline="False" Font-Strikeout="False" Font-Underline="False"   
                                                     ForeColor="White" Wrap="True" /> 
                                                 <ItemStyle BorderStyle="None" /> 
                                             </telerik:GridBoundColumn> 
                                             <telerik:GridBoundColumn DataField="TotalAvailSeats" HeaderText="SEATS"   
                                                 SortExpression="TotalAvailSeats" UniqueName="colTotalAvailSeats">  
                                                 <HeaderStyle Width="90px" Font-Bold="True"   
                                                     HorizontalAlign="Center" Font-Italic="False" Font-Overline="False"   
                                                     Font-Strikeout="False" Font-Underline="False" ForeColor="White" Wrap="True" /> 
                                                 <ItemStyle BorderStyle="None" HorizontalAlign="Center" /> 
                                             </telerik:GridBoundColumn> 
                                         </Columns> 
                                         <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"   
                                             Font-Strikeout="False" Font-Underline="False" Wrap="True" /> 
                                         <AlternatingItemStyle Font-Bold="False" Font-Italic="False"   
                                             Font-Overline="False" Font-Strikeout="False" Font-Underline="False"   
                                             Wrap="True" /> 
                                     </MasterTableView> 
                                     <SelectedItemStyle Font-Bold="True" ForeColor="Maroon" Font-Italic="False"   
                                         Font-Overline="False" Font-Strikeout="False" Font-Underline="False"   
                                         Wrap="True" BackColor="Silver" /> 
                                     <ClientSettings EnableRowHoverStyle="False" > 
                                         <Selecting AllowRowSelect="True" /> 
                                     </ClientSettings> 
                                 </telerik:RadGrid> 
Princy
Top achievements
Rank 2
 answered on 10 Mar 2014
0 answers
33 views
Hi, I've been searching the forum and Google in general to try and find an answer to this question:
How do I enable pasting from excel into a KendoUi Grid?
I've seen solutions for 'RadGrid', but not the newer 'grid'...
Would welcome any help, even in just capturing the pasting event.
Regards,
Tony.
Tony
Top achievements
Rank 1
 asked on 10 Mar 2014
3 answers
92 views
Hello

i search documentation for the api telerik client side (javascript)

to know the method and property for the object in client side.

Thanks
Shinu
Top achievements
Rank 2
 answered on 10 Mar 2014
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
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
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?