Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
155 views
How to insert data into temporary datatable and display it in a grid client-side while clicking a button

My scenario is :

1) A combo with Productname as text,productid as value
2) A textbox for displaying Qty.
3) A button (ADD)

After selecting the products from the combo, and entering the Qty , When the user clicks the ADD button, the data has to be updated on the temp datatable on clientside. And need to display that data in grid. How can I achieve this. Pls provide me a sample code as I'm new to telerik and script

Tsvetoslav
Telerik team
 answered on 06 Aug 2012
3 answers
370 views
Hi,

I have "save" button outside of radgid.

I am adding textbox in radgrid template column on ItemDatabound event.

I want to read textbox value when i will click on "save" button

Please guid how to do access this.
Eyup
Telerik team
 answered on 06 Aug 2012
1 answer
207 views
Hi,
I am using this below  javascript function
but the problem is
how can i get client id withot using,  $find('<%= RadTabStrip1.ClientID%>');

<telerik:RadCodeBlock runat="server" ID="RadCodeBlock1">
<script type="text/javascript">
function UnSelectMyTab(sender, eventArgs)
            {
                
                var tabStrip = $find('<%= RadTabStrip1.ClientID%>');
                if (!tabStrip) return;
                //Find the element which the mouse is over
                var destElement = eventArgs.get_domEvent().eventMapRelatedTarget;
                if ($telerik.isDescendant(tabStrip.get_element(), destElement))
                    return;
                var initialTab = eventArgs.get_tab();
                initialTab.unselect();
                initialTab.selectParents();
            }
     </script>
</telerik:RadCodeBlock>

Can anyone let me know how to do this?

Thanks,
Maruthi
Kalina
Telerik team
 answered on 06 Aug 2012
2 answers
111 views
So I have a items that I need fill into the combo box without having to bind the combo to a table in the database. How do I do that?

Nencho
Telerik team
 answered on 06 Aug 2012
1 answer
131 views
Such "topology" how should do ???
 
1, The "topology" is divided into three layers. Click on the first floor, it will turn to the second floor of the corresponding. Click on the second floor, jump to the third floor of the corresponding.
 
2,The "Topology" dynamic generation according to the database of the "table relationship".
 
Is there instance can reference ?    Is there some third party controls   of  telerik  can be used? 
 
Thanks a lot... 
Shinu
Top achievements
Rank 2
 answered on 06 Aug 2012
2 answers
233 views
Hi,

I have something like the following code:

<div id="wrapper" class="fontsize-2">
    <telerik:RadDatePicker ...>
        <DateInput font-size="1.0em"></DateInput>
    </telerik:RadDatePicker>
</div>

fontsize-2 is dynamically added by a javascript depending on the user's preference. There can be different font-sizes.
The fontsize-2 class is defined as:
#wrapper.fontsize-2 { font-size: 133%; line-height: 1.4285; }


However, it is not working. The font-size of the raddatepicker does not increase.
What can I do?


Thanks in advance.

Rafferty
Rafferty
Top achievements
Rank 1
 answered on 06 Aug 2012
7 answers
226 views
Hi everyone,

I followed Telerik examples in order to add tooltips on my chart. I have just copied and paste the example and this is working.
I tried to do the same on one of my chart. I add every items on the serie with a "for" loop"

o_gaussianItem.YValue = f_resultFormula;
o_gaussianCurve.Items.Add(o_gaussianItem);

So, in order to have my tooltips, i made the following modification :

o_gaussianItem.YValue = f_resultFormula;
o_gaussianItem.ActiveRegion.Tooltip = "x :" + Math.Round(o_gaussianItem.YValue,3);
o_gaussianCurve.Items.Add(o_gaussianItem);

I have also added a RadTooltipManager on my aspx page :

<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server"
 width="200px" Animation="None" Position="TopCenter" EnableShadow="true"
    ToolTipZoneID="CHT_AvgHistogramme" AutoTooltipify="true">
</telerik:RadToolTipManager>

But this is not working. :/
I have 200 points on my spline.
Any help ? :)
Maxime
Top achievements
Rank 1
 answered on 06 Aug 2012
1 answer
92 views

Hello,

Currently I am using telerik Asp.Net Radchart.

How can I use 2D feature for this chart without integrating with Silverlight?

Thanks.

Peshito
Telerik team
 answered on 06 Aug 2012
1 answer
434 views
HI,

I am using below code
<telerik:GridBoundColumn DataField="ActualAuctionStartTime" HeaderText="Actual Start" DataType="System.DateTime"
                            SortExpression="ActualAuctionStartTime" UniqueName="ActualAuctionStartTime" DataFormatString="{0:MM/dd/yyyy HH:mm}">
                            <HeaderStyle Width="10%" />
                        </telerik:GridBoundColumn>

Now my Server is in PST timezone while i am accessing this in IST time zone.

When Time is : 7/31/2012 22:56 its converting it to 08/01/2012 11:26.

Can you please resolve my problem as soon as possible. Its been critical to me.

Thanks
Dheeraj
Andrey
Telerik team
 answered on 06 Aug 2012
1 answer
102 views
I have a radgrid that displays product information. One of the product information is Product Group. In EditForm, I have a RadComboBox that will enable the user to change the Product Group for the product. The RadComboBox will lists all available Product Groups (sorted in ascending).

For example:
I have a product Z that is currently a member of Product Group B. There are 3 Product Groups available, namely A, B and C. Currently, when I open the EditForm for product Z, the item that is displayed as the default product group on the RadComboBox is Product Group A. I want the combobox to display the default product group based on the product's current product group, in this case Product Group B.

I tried to follow this guide (http://www.telerik.com/help/aspnet-ajax/combobox-insert-default-item-when-databinding.html), but when the RadComboBox DataBound event is fired, I don't have the information on which product calls for it, hence I cannot make it display the correct product group name.

Currently I put the code for inside RadGrid ItemDataBound event. I get the default product group to be displayed accordingly but it creates a duplicate and I don't think this is the correct way to do this.

protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
    if (e.Item is GridEditFormItem && e.Item.IsInEditMode)
    {
        GridEditFormItem item = e.Item as GridEditFormItem;
         RadComboBox statusComboBox = (RadComboBox)item.FindControl("RadComboBox1");
 
        // get the parent GridDataItem for this form
        // (i.e. which row this edit form is generated for)
        GridDataItem parentGridItem;
        parentGridItem = item.ParentItem;
 
        // put the current product group on combobox's first entry
        statusComboBox.Items.Insert(0, new RadComboBoxItem(parentGridItem["product_group"].Text, string.Empty));
    }
}

Please help.

Thanks.
Iris
Top achievements
Rank 1
 answered on 06 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?