Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
81 views
I'm displaying a set of records on the RadGrid. Below is the issue I'm facing.

1. User1 wants to edit one of the records by clicking edit button.
2. Meanwhile User2 inserts a new record. User1 didnt see this new record before clicking the edit button since no postback was issued and hence NeedDataSource was not fired.
3. For example:  When user1 clicks the edit button on the third row, a postback is issued, new record added by the user2 apperars as the first record in the grid. Now THIRD record is in edit mode. Actually 4th record should be in edit mode because of the new recorded added to the grid by User2.

I guess all this is happening because of the change in the row index when  new records are added.

How do I handle this issue?


Vasil
Telerik team
 answered on 14 Sep 2012
1 answer
115 views

See The Attachment

this._autoPostBackControl=Telerik.Web.UI.Calendar.AutoPostBackControl.None

Thanks Advance,
Mohamed.
Vasil
Telerik team
 answered on 14 Sep 2012
3 answers
127 views
I'm having an issue with the hover effect on the RadCalendar.

I'm using special days to highlight days that have events on that day, these items have a grey color. Every other day is white, selected days are green. My selected days are classed "Populated"

So if i click on a date, that is NOT a special day with the 'populated' class, the selected date bg color goes green. This is expected. If i mouse around the selected date color stays which is what I want.

Now if i selected a 'Special Day' the color goes green, however when I hover over it and go off it, the color goes back to special day color. Inspecting the element I see that the rcSelected class is removed and the Populated class is there.

How come the normal days retain the rcSelected class on mouseover / out and the Special days lose the rcSelected class on mouseover/out?

**My rcSelected background color is !important, I know that the class is being removed via the IE dev toolbar.
I appreciate any help.
Vasil
Telerik team
 answered on 14 Sep 2012
2 answers
105 views

We upgraded out radcombobox component to the latest version (2012.2.724.40) today from version 2009.3.1314.20. Previously when we pressed tab the selected item was selected when we pressed tab, now it only works when we press enter. We didn't change any of the code, and we didn't use any javascript to accomplish this behavior.

<telerik:RadComboBox ID="ddlLevel1" runat="server" EnableEmbeddedSkins="false" skin="ourSkin" style="float:left;padding-right:1px;" Filter="Contains" AllowCustomText="false" MarkFirstMatch="true" IsCaseSensitive="false" AutoPostBack="true" Width="126"          OnClientFocus="OnClientDropdownFocus" SelectOnTab="true" />

Bennie De Jong
Top achievements
Rank 1
 answered on 14 Sep 2012
3 answers
204 views

Hi, i have a radslider and a label nested like this:

<telerik:RadTreeList>

 <EditFormSettings EditFormType="Template">

  <FormTemplate>

    <asp:Panel>

        <asp:Label />

        <telerik:RadSlider />

.....

I try differnet approches to set the label text to choosen radslider value. But i cant seem to find the controls.

         

Princy
Top achievements
Rank 2
 answered on 14 Sep 2012
1 answer
125 views
Hi,

How to remove the refresh button in code behind?
Any help is highly appreciated.

Princy
Top achievements
Rank 2
 answered on 14 Sep 2012
2 answers
137 views
Hello all,

How can I close the insert form on an external button click?

Thanks in advance.
Janaki
Top achievements
Rank 1
 answered on 14 Sep 2012
1 answer
519 views
I have a RadGrid that sits inside an UpdatePanel. I have the following template column defined:

                        <telerik:GridTemplateColumn UniqueName="Answers" HeaderText="Edit" DataField="Id">
                                <ItemTemplate>
                                    <asp:LinkButton OnClientClick="$(this).parent().parent().css('backgroundColor', 'cyan');" ID="btnViewAnswers" runat="server" CommandArgument='<%# Eval("Id") %>'
                                        CssClass="icolink btn_list" OnClick="btnViewAnswers_Click">Answers</asp:LinkButton>
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>

How do I highlight the row when clicked? I am using jQuery now to change the background color and its working, but I think the updatepanel is doing an ajax call and then the radgrid is losing the css.
Shinu
Top achievements
Rank 2
 answered on 14 Sep 2012
7 answers
266 views
I have populated my grid with a service and everything works fine, now i want to populate a GridDropDownColumn with a WebService i think the GridDropDownColumn is a RadComboBox and i found a sample using the webservicesettings tag but i dont how to implement it for GridDropDownColumn.

I hope you can help me
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 13 Sep 2012
6 answers
157 views
Hi guys, i'm new with this topic and i need your help.

I know how to edit info inside a grid (now i'm using popup mode) and it works. But my boss asked me to change a field (logo picture converted into base64 string ) and i needed to use the radupload control inside the grid.

I've added it manually and it appears without problems but i don't know how to get this file to convert it into base64 string... could you help me with this? thanks a lot!

This is the code i'm using into the grid
<telerik:GridAttachmentColumn FileName="NuevoLogoFN"
    FilterControlAltText="Filter Nuevo Logo column" HeaderText="Nuevo Logotipo"
    Text="Nuevo Logotipo" UniqueName="NuevoLogo">
</telerik:GridAttachmentColumn>

And this one is part of the codebehind
if (e.CommandName == RadGrid.UpdateCommandName)
      {
 
          //GridDataItem item = (GridDataItem)e.Item;
          GridEditFormItem item = (GridEditFormItem)e.Item;
 
 
          Hashtable newValues = new Hashtable();
 
          item.ExtractValues(newValues);
 
 
         //I need the code here
 
                
          string id = item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["ID_Reg"].ToString();
Arturo
Top achievements
Rank 1
 answered on 13 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?