Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
495 views
For a nested RadGrid, how do I access the GridDataItem in a parent Radgrid if I am in a click event that was fired off in the child grid.
e.g.,

<telerik:RadGrid ID="TelerikRadGrid1" runat="server" ....>
   <MasterTableView ....>
         <Columns>
               <telerik:GridBoundColumn DataField="CustomerID1DataField" HeaderText="CustomerID1HeaderText" UniqueName="Customer1UniqueName" Visible="false"    />
       </Columns>
                 <NestedViewTemplate>
                         <div>
                              <telerik:RadGrid ID="TelerikRadGrid2" runat="server" ..... >
                                      <MasterTableView>
                                                <Columns>
<telerik:GridTemplateColumn HeaderText="Update" ColumnGroupName="Action" AllowFiltering="false"><HeaderStyle Width="40px" />
                                          <ItemTemplate>
                                            <asp:LinkButton ID="MatchButton" runat="server" Text="Match" OnClientClick="MatchConfirm()" OnClick="MatchButton_Click" />
                                           </ItemTemplate>
                                  </telerik:GridTemplateColumn>

                                                       <telerik:GridBoundColumn DataField="CustomerID2DataField" HeaderText="CustomerID2Text" UniqueName="CustomerID2Unique" Display="false"></telerik:GridBoundColumn>
                                                  </Columns>
                                      </MasterTableView>
                               </telerik:RadGrid>
                            </div>
                   </NestedViewTemplate>
           </MasterTableView>
</telerik:RadGrid>

public void MatchButton_Click(object sender, EventArgs e)
{
// How do I access the "CustomerID1DataField" in TelerikRadGrid1, from this event?
}


Tayyab
Top achievements
Rank 1
 answered on 11 Sep 2013
2 answers
669 views

I am trying to use the  “Allow Automatic Updates” option on the Telerik RadGrid control in ASP.net. I thought this would be the easiest way to go but it isn’t working for me. I have a single table with all of the data that needs to be edited and I was going to just turn on the filtering for a quick and easy administrative console for this table. I am using a SQLDataSource as my data source for the grid. This is a single table so none of the hierarchy stuff applies.

Whenever I click edit, change some data and hit update the changes are removed from the form and nothing is updated. Any idea what I am doing wrong? I also don’t see a way to log or see any errors so this is all the info I have.

The sql query is a basic select * from table. No joins or anything.

Jason
Top achievements
Rank 1
 answered on 11 Sep 2013
11 answers
429 views
Hi,
 
         I think this is most commonly discussed defect about radgrid's cross browser compatibility. When i give static headers = true and enable scrolling, There appears a white space in the header on top of the scroll. PFA the snaps in different browsers.

Please suggest the solution.

Regards,
Saravanan K
Pavlina
Telerik team
 answered on 11 Sep 2013
2 answers
174 views
Hi,

I am trying to paste an image into radeditor using cntrl + v ,but the image is not copied on to the editor . This works fine in Firefox but fails in chrome and IE. The online demo works in all browser. The same application I have created does not work . Please help me in this.


Thanks,
Rahul Kasar
Top achievements
Rank 1
 answered on 11 Sep 2013
4 answers
142 views
I have a rotator that works in IE and Firefox but doesn't rotate in Chrome. The rotator just sits on the same frame.

<telerik:RadRotator ID="rrWebSponsors" runat="server" ContentFile="sponsors/sponsors.xml" FrameTimeout="6000" TransitionType="Slideshow" FrameDuration="10000" PauseOnMouseOver="true" Height="125px" Width="125px" UseRandomSlide="true">
<ItemTemplate>
<a href='<%# DataBinder.Eval(Container.DataItem, "url") %>' target='_blank'>
<img src='sponsors/<%# DataBinder.Eval(Container.DataItem, "filename") %>' alt=''  style='border: 0px;' /></a>
</ItemTemplate>
</telerik:RadRotator>



Darren
Top achievements
Rank 1
 answered on 11 Sep 2013
2 answers
133 views
When I use the foreground color picker to change a section of text to black, it does not add a span tag with the color set to #000000. Any other color does this. This is a problem because we may have a page where the default text color is not black and the user may want to change all or some of the text in the editor to black. I confirmed that it works this way in your demos. Is there no way to set the color to black other than going into html source mode and manually changing it yourself?

Thanks.
Mike
Top achievements
Rank 1
 answered on 11 Sep 2013
9 answers
477 views
Is there any possible way to actually hide an appointment on radscheduler?  I am implementing the OnAppointmentCreated event & setting e.Appointment.Visible = false.  I've also tried setting the Container and Container.Parent visibility to false but I still get an empty appointment box drawn on the date.

I need the information of the appointment itself to handle the event OnTimeSlotCreated in which I had an html control to the container depending on the appointment properties.  But I do not want the appointment itself to be visible on the scheduler. 

Is there any way to achieve this?
Neo
Top achievements
Rank 1
 answered on 11 Sep 2013
1 answer
43 views
Hi -- We have a RadComboBox that has names in format --
Smith, Joe v
Thomas, Joan

When we start typing in the box with something like -- Smit
it can find Smith, Joe V

However if we type Smith, Joe   
No records are returned.


Any ideas?

Thanks much, Raka.
Nencho
Telerik team
 answered on 11 Sep 2013
7 answers
155 views
Hi,
I need to achieve the following:
when I start editing node on the client side, I need to set value to 'Rename' in input area.
Please help.
Rob
Top achievements
Rank 1
 answered on 11 Sep 2013
22 answers
880 views
Hi,

I've a RadTextBox inside a RadPageView working with a RadTabStrip control. When the user types in a value in it and, with the TextBox in focus, clicks on the next tab, then the changes inside this TextBox disappear (the blur does not happen).

It appears to be an issue only in IE, I tried Chrome and it works great there. I'm using :

ASP.NET Ajax : 2013.2.611.40
Browser : IE 9

Nishant
Peter Filipov
Telerik team
 answered on 11 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?