Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
115 views

I just upgraded the version of Telerik Tools on my project and it added all 4 buttons(up,down,left,right) on my RadRotator control.

 

The RotatorType is set to "FromCode". I don't want the buttons there. Is this a bug? The description for this type says "The rotator will not change items automatically and will not display the control buttons."

Rumen
Telerik team
 answered on 05 Jul 2017
3 answers
289 views

I have a repeater to list all products which contains pictures for each product

if I click product A which has 3 pictures, clicked the last pic, it shows properly

then I click product B which has 1 pictures, the page throws out error: index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

I believe the issue is on Proudct B, RadImageGallery still tries to show the third pic, and couldn't find it.

Peter Milchev
Telerik team
 answered on 05 Jul 2017
0 answers
125 views

Am using neseted rad grid for data population. by defailut have setted .rgExpand, .rgCollapse
  {
    display: none;
  }

using this able to see no expand or collapse option.

but i need based on child data need to enable expand & collapse option for particular rows in rad grid.(if no child data expand or collapse image shouldnt be there in grid row)

how to achieve this in Rad nested rad grid.

Ramu
Top achievements
Rank 1
 asked on 05 Jul 2017
8 answers
4.5K+ views
hi,
can anyboby give me a sample code for display respected value in lable on selection of dropdownlist inside gridview.

my prob is that i want to select a item inside radgrid by dropdownlist and want to display corresponding value in a label.
Uma
Top achievements
Rank 1
 answered on 05 Jul 2017
4 answers
409 views
Hi,
I have a requirement where I need to get the events data from a table in database and assign it in a calendar.
The table has startdate, enddate, event title, event description fields.
The data is already saved via a custom form.
I need to bind events on a particular day for the month rendered and should be hyperlinked.
Once the user clicks on a particular event it should redirect to a page where it displays full details.
If the user changes the month then it should bind the appropriate events from the database for the respective days.
I would like to know if this can be acheived via telerik or  not.
If yes any guidance to existing piece of code or documentation would be very much helpful.
Thanks in advance.

Regards,
Mohammed Hafeezuddin
iqra
Top achievements
Rank 1
 answered on 05 Jul 2017
2 answers
81 views

Hi Team,

 

In manual data editing, pressing Enter key in any of the input controls while editing a record triggers InitInsert command instead of the expected command e.g. PerformInsert, Update etc...

 

This is reproducible in the online demo as well. Steps to reproduce;

1- Edit a record.

2- Hit enter while Name input for instance is focused.

3- A postback is triggered and the command name about to be executed is InitInsert.

 

Is there a built-in approach to disable this behavior?

Eyup
Telerik team
 answered on 05 Jul 2017
2 answers
291 views

Hi

I am currently working on Scheduler, i want that scheduler give me option to print the appointments of current day shown in scheduler. How is it possible?

Thanks in advance

Best Regards

Akhtar Abbas

Paul
Top achievements
Rank 1
 answered on 04 Jul 2017
3 answers
404 views
I have a grid , have one GridTemplateColumn has a text box
<telerik:GridTemplateColumn   UniqueName="ForeignTranslation" AllowFiltering="true" FilterControlWidth="70px" 
HeaderText="dd">
<ItemTemplate>
        <asp:TextBox ID="txtTranslationText"  AutoPostBack="true" runat="server" Height="44px" OnTextChanged="txtTranslationText_TextChanged" TextMode="MultiLine"  ></asp:TextBox>
</ItemTemplate>
</telerik:GridTemplateColumn>
 OnTextChanged will save the data to DB

I need to allow user to tab out to the next row of the text box and set focus to the next row text box.
on Itemdatabound, I used
TextBox tb = (TextBox)dataItem["ForeignTranslation"].FindControl("txtTranslationText");
tb.TabIndex = 1;
It will allow me to tab out to the next row text box fine if I don't do any edit, as long as I change the text in the text box, which fires  OnTextChanged, then, the form did post back and the focus lost.

Is there anyway I can make the focus to the next row of text box in the grid after OnTextChanged triggered?

How can I find thegrid  next row clientID on OnTextChanged??


Thanks!
Omar
Top achievements
Rank 1
 answered on 04 Jul 2017
1 answer
243 views

Hi,

I have a javascript function (see below) that fires perform insert command for a data form. I am trying to pass the command argument of the button clicked to the ItemCommand event handler but somehow e.CommandArgument.ToString() tunrs out to be an empty string. Can anyone please guide me as to what i am doing wrong?

aspx:

function callSaveAll(sender,args) {                 
                        var object2 = $find("<%= OrderItemDataForm.ClientID%>");                       
                            if (object2._isItemInserted)
                                object2.fireCommand("PerformInsert", args._commandArgument);                                                                     
                }

 

.cs code:

protected void OrderItemDataForm_ItemCommand(object sender, RadDataFormCommandEventArgs e)
    {

        if (e.CommandName == "Cancel")
            ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "CancelEdit();", true);


        if (e.CommandName == "PerformInsert")
        {
            if (Page.IsValid)
            {
                if (e.CommandArgument.ToString() == "SaveNew")
                {
                    saveAndNewButtonClicked = true;
                }
                else if (e.CommandArgument.ToString() == "Save")
                {
                    saveAndNewButtonClicked = false;
                }
            }
        }
    }
Marin Bratanov
Telerik team
 answered on 04 Jul 2017
3 answers
491 views

I've got a RadNumericTextBox's in a grid and a client side "OnValueChanged" event. How can I get the data key for the row of the control when the event fires? How can I find other controls in the same row.

 

                function onValueChanged(sender, args) {
    }

Rumen
Telerik team
 answered on 04 Jul 2017
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?