Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
463 views
How server code can prevent tab change in an scenario as linked sample?

sample: http://www.telerik.com/help/aspnet-ajax/tabstrip-multipage-integrate-with-tabstrip.html

I know than I can handle tabclick in this way:

protected void  RadTabStrip1_handling_tabclick(object sender, EventArgs e) 
{  
  RadTabStrip1.Tabs[0].Selected = true;    
  RadTabStrip1.Tabs[0].PageView.Selected = true;


But it seems a little dirty. I would like a kind of canceled radgrid event member for radtabstrip event:

protected void linkButton1_OnClick(object sender, EventArgs e){  
   e.canceled  = true;
}

someone know a more elegant way to prevent change tab? 



 





Shinu
Top achievements
Rank 2
 answered on 05 Mar 2014
3 answers
95 views
Hi All,

The Users would like to be able to insert new records "back-to-back."  Right now they click on "Add new record," fill in their data, click on "Insert" and have to repeat that process.  They would like the addition of another button, next to "Insert," that allows for a new records to be added immediately after the current one.  Essentially, the current record would be entered, the fields would be cleared and the RadGrid would remain in EditMode.  Is this at all possible?

Thanks,
Mark
Princy
Top achievements
Rank 2
 answered on 05 Mar 2014
4 answers
238 views
I need to create a grid that is filled from a custom objectdatasource. It should have no pager but when I scroll down (or up) it should dynamically load the appropriate data. I looked through all the examples but since they all use some sort of SQL I could not get them to work for me.

Are there any examples available with a custom objectdatasource?

Regards,
Rainer
Shinu
Top achievements
Rank 2
 answered on 05 Mar 2014
1 answer
600 views
Hi All,

I am attempting to make the font size of all text in the RadGrid smaller.  I have tried the following:

RadGrid.MasterTableView.Font.Size = FontUnit.XXSmall;

This appears to only affect the column headers.  Does anyone have any suggestions?

Thanks,
Mark
Shinu
Top achievements
Rank 2
 answered on 05 Mar 2014
1 answer
65 views
Hello I want to know what's the last version of telerik rad controls asp.net
Shinu
Top achievements
Rank 2
 answered on 05 Mar 2014
5 answers
180 views
I have a GridDropDownColumn in RadGrid. I have added SelectedIndexChanged method on it in edit mode. Whenever this method is triggered, the column text becomes blank in the grid (for all rows except the one which is being edited).

I used the following in ItemCreated method:

rComboBox.AutoPostBack = true;
rComboBox.SelectedIndexChanged += MyComboBox_SelectedIndexChanged;

My GridDropDownColumn looks like:

<telerik:GridDropDownColumn DataField="MYDROPDOWNCOLUMN" DropDownControlType="RadComboBox"

HeaderText="Market Factor" ListTextField="MYDROPDOWNCOLUMN" ListValueField="MYDROPDOWNCOLUMN"

UniqueName="MYDROPDOWNCOLUMN" EnableEmptyListItem="true"

EmptyListItemText="--Choose an option--" EmptyListItemValue="">

</telerik:GridDropDownColumn>
Vikas
Top achievements
Rank 1
 answered on 04 Mar 2014
1 answer
98 views
Please fix colors in highlighted elements in the scenario wizard in VS2013 (see attached)
Petar
Telerik team
 answered on 04 Mar 2014
3 answers
168 views
Good morning,
I have used in my application RadDatePicker to get date.Now I need to get just days of week Monday thru Friday(single day of the week or multiple days of the week).
How can I do that?

Thanks so much for your help.
Kostadin
Telerik team
 answered on 04 Mar 2014
4 answers
128 views
Hi,

I am getting following javascript error while clicking on combo box

 'top' is null or not an object
but with up and down arrows i am able to change the items in combo box
I am declared combo as follows:and this combo is in popup window
<telerik:RadComboBox ID="rad1" runat="server">
   <Items>
     <
telerik:RadComboBoxItem Text="1" Value="1" />
<telerik:RadComboBoxItem Text="2" Value="2" />
<telerik:RadComboBoxItem Text="3" Value="3" />
<telerik:RadComboBoxItem Text="4" Value="4" />
<telerik:RadComboBoxItem Text="5" Value="5" />
<telerik:RadComboBoxItem Text="6" Value="6" />
<telerik:RadComboBoxItem Text="7" Value="7" />
<telerik:RadComboBoxItem Text="8" Value="8" />
<telerik:RadComboBoxItem Text="9" Value="9" />
</Items>
   </telerik:RadComboBox>

can any one help in solving the issue?

Thanks,
Wesley
Top achievements
Rank 1
 answered on 04 Mar 2014
4 answers
243 views
We are using Tererik's RadHtmlChart in sparkline layout mode with a single line series.  I am trying to figure out how to display the vertical line in the tooltip as demonstrated on the MEAN TEMP chart via https://demos.telerik.com/aspnet-ajax/htmlchart/examples/charttypes/sparklinechart/defaultcs.aspx.  I need to accomplish this via server-side C#, not ASCX markup (I am configuring all 14 sparkline controls on our web page via a single C# method to minimize the amount of duplicate ASCX code).  I suspect the vertical line may be controlled by the unusual background settings within the sparklines-wrapper CSS style but I can find no documentation on this specific feature to help guide me.

Thanks for your time and attention.

Troy

My ASCX:
                    <div class="sparklineWrapper">
                        <telerik:RadHtmlChart ID="RadHtmlChart_Sales" runat="server" Layout="Sparkline" class="sparkline" />
                    </div>

My C#:
        protected void ConfigureSparklineControl(string id)
        {
            RadHtmlChart sparkline = this.FindControl(id) as RadHtmlChart;

            // turn off transitions so there's no flicker when the graph is repainted with new data
            sparkline.Transitions = false;

            // hide the Legend area to prevent displaying the clickable 1-pixel link
            sparkline.Legend.Appearance.Visible = false;

            // ... other configuration code here
        }


Troy S.
Top achievements
Rank 1
 answered on 04 Mar 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?