Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
130 views
Hi, on the server side, we use:
MasterTableView.GetItems(GridItemType.Pager)[0] as GridPagerItem).Paging.DataSourceCount

to get the total # of records.

How about on the client side. Is there any way to get it?
Shinu
Top achievements
Rank 2
 answered on 09 Oct 2009
1 answer
93 views
How do I refresh RadGrid after a ContextMenu Delete option
Shinu
Top achievements
Rank 2
 answered on 09 Oct 2009
1 answer
128 views
Wanting to implement a simple related combobox inside the insert/edit mode of a radgrid. I would like for the user to select a value from the first field (a combobox) which will populate the next field which is a textbox.

Pwilson
Princy
Top achievements
Rank 2
 answered on 09 Oct 2009
3 answers
160 views
Hello,

I have a combo box in an edit item template in a grid.  I have the combo loading on demand and then I have the selectedindexchanged event wired up.  That event gets fired when I make a selection in the combo, but the controls I want to fill values with based on the input to the combobox never display. 

so the example would be to have the user type a few letters in the combo - the combo goes back to the database an finds a list of values and displays them - in this case it is product numbers.  When the user selects a product number the selectedindex changed event goes to the database and gets a product based on the number selected.  Now, I have a textbox in another column in the grid, in a edit item template that I want to set the text property on - this is what is never being upated.

All this is being wired up using the AjaxManager.
Princy
Top achievements
Rank 2
 answered on 09 Oct 2009
6 answers
336 views
I have a RadComboBox that calls a stored procedure and rebinds the
RadGrid.  When the page first loads the Grid renders correctly.  However,
after rebinding the grid's group header rows overlap the vertical scrollbar.
Additionally, if I select a row, the highlighted row color overlaps the vertical
scrollbar.  Also, there should be no scrollbars since the data is easily
contained within the page.  They appear on the rebind.  This only happens
if I use RadAjaxManager,however, everything renders correct on the page load. 
After removing RadAjaxManager and doing a full page postback, the grid
renders correctly everytime.

I have been trying to figure this out for a week now.  Any ideas?

I dont think it matters but, grid is located in RadPageView, which is located
in a RadPane.  All widths/heights are set to 100%.  Like I said, just remove
the AjaxManager and everything works fine.

Wrapping everything in an AjaxPanel seems to work, however, I get a few
other issues that are boggling me.  I would really like to keep the AjaxManager
if possible.

Josh
Josh
Top achievements
Rank 1
 answered on 09 Oct 2009
3 answers
91 views
Hello Telerik,

I was wondering if you have an example of how to send a user directly to the advanced insert when he or she clicks on a day (instead of showing inline insert).

Thank you.
Joel Reynolds
Top achievements
Rank 1
 answered on 08 Oct 2009
1 answer
89 views
when double clicking a day on the month view, how do i disable the inline insert? i want it to automatically go to the advanced insert form that i've created in the advancedinserttemplate.

Thanks.
Joel Reynolds
Top achievements
Rank 1
 answered on 08 Oct 2009
1 answer
102 views
Is there anyway to keep a related combobox from resetting to empty and the selectedItem.text from being nulled out after postback?
Schlurk
Top achievements
Rank 2
 answered on 08 Oct 2009
1 answer
146 views
Hello
I have a chart wich in his xaxis textblok have dates,
I need this, when a date haven't data the xaxis texblock it display nothing.
I dont want use this
RadChart1.PlotArea.XAxis[3].TextBlock.Text = " ";
because the chart will have a lots of days (200 to 300) with empty values.
I need to know if there is a way to define a default value for the empty values.

Help please.


protected void Page_Load(object sender, EventArgs e) 
    { 
        if (!Page.IsPostBack) 
        { 
            RadChart1.PlotArea.XAxis.AutoScale = false
            RadChart1.PlotArea.XAxis.AddRange(1, 7, 1); 
             
            RadChart1.PlotArea.XAxis[0].TextBlock.Text = "lun"
            RadChart1.PlotArea.XAxis[1].TextBlock.Text = "mar"
            RadChart1.PlotArea.XAxis[2].TextBlock.Text = "mie"
            //RadChart1.PlotArea.XAxis[3].TextBlock.Text = " "; 
            //RadChart1.PlotArea.XAxis[4].TextBlock.Text = " "; 
            RadChart1.PlotArea.XAxis[5].TextBlock.Text = "sab"
            RadChart1.PlotArea.XAxis[6].TextBlock.Text = " "
 
  
 
            RadChart1.Series[0].Items.Add(new Telerik.Charting.ChartSeriesItem(1,0.1)); 
            RadChart1.Series[0].Items.Add(new Telerik.Charting.ChartSeriesItem(2,0.3)); 
            RadChart1.Series[0].Items.Add(new Telerik.Charting.ChartSeriesItem(3,1)); 
            RadChart1.Series[0].Items.Add(new Telerik.Charting.ChartSeriesItem(6,0.3)); 
   
 
        } 

Schlurk
Top achievements
Rank 2
 answered on 08 Oct 2009
1 answer
59 views
Hi,

 I have dropdown list to display the chartypes like pie, bar, lines etc.

Based on selected chartypes, it should display the chart.

i have one radchart control in aspx page.

How can do it dynamically in serverside?

i know we have to write the code in dropdown selectindexchanged event.But  it should display charts based on type selected in dropdown.

Any help will be appreciated

thanks for your help
Schlurk
Top achievements
Rank 2
 answered on 08 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?