Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
410 views
I have a question, how i can Get the value of a Cell in a RadGrid and pass it to a RadTextBox using the Client Event "OnRowSelected"??

thanks.
Joswhar
Top achievements
Rank 2
 answered on 02 May 2012
1 answer
118 views
Hi,

I have a scenario that I'm hoping someone here can provide guidance on...

I have a RadGrid programmed so that when a row is selected it populates a user control elsewhere on the page and the row in the grid is highlighted as selected. If a user has entered or changed information for that item in the user control and then tries to select another row without saving, I've used javascript to remind them to save. If they select OK, it ignores the changes and loads the new item from the newly selected row. If they select Cancel, it prevents the page from posting.

I've first used the OnRowClick ClientEvent, and it would work as I expected, but the newly selected row would still be shown as "selected" even if I canceled the postback. I then tried the OnClientSelecting ClientEvent and it prevented the newly selected row from displaying as "selected", but the current row still lost it's "selected" row styling. What event should I use to prevent the currently selected row from losing its highlighted "selected" styling in the grid if the user selects "Cancel"?

Thanks for any help!

Smith
Martin
Telerik team
 answered on 02 May 2012
7 answers
171 views

We are using lots of telerik control almost all the pages of our application.
we are failed for 508 compliance  1194.22 (i). the below message is displaying on validating the page. we have fix it for RadMenu by adding the enableoverlay = false.

  • IFRAME-3
    • Name not specified
    • Longdesc not specified
    • Title not specified
    • Src="javascript:'';"
  • IFRAME-4
    • Name not specified
    • Longdesc not specified
    • Title not specified
    • Src="javascript:'';"

It would be great if you can suggest what all control and there fixes pertaining to 508 section 1194.22 (i)  for iframe test

Rumen
Telerik team
 answered on 02 May 2012
3 answers
83 views
Hi,
I am having a problem with some custom CSS that my company created for the rad context menu. It does not show the "More items" type of arrows (or any indication that there's more items) when there are more items than can be shown in the menu.

The menu is expanding to the right, but the place where I want to show the menu is the vertical sub-menu. What CSS tag do I need to include for this?

thanks!
Kate
Telerik team
 answered on 02 May 2012
1 answer
99 views
Hi,

I have a RadListBox on a RadTooltip control.  When I am trying to drag an item from the radlistbox; the text displayed along with the mouse cursor seen in the background of the RadTooltip window.  Kindly suggest a solution for this.  Please find the markup of sample page which can demonstrate the issue.  A screen capture also has been attached for further clarity.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="ToolTipDragIssue.WebForm1" %>
  
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager runat="server" ID="ScriptManager1" />
    <asp:Button ID="Button1" runat="server" Text="Click Here" />
    <div>
        <telerik:RadToolTip ID="RadToolTip1" runat="server" ShowEvent="OnClick" TargetControlID="Button1" HideEvent="ManualClose"> 
                <telerik:RadListBox ID="RadListBox1" runat="server" Width="200px" Height="200px"
            AllowTransfer="true" AllowReorder="true" AutoPostBackOnReorder="true" EnableDragAndDrop="true">
            <Items>
                <telerik:RadListBoxItem Text="Test Item 1 Test Item 1 Test Item 1 " />
                <telerik:RadListBoxItem Text="Test Item 2 Test Item 2 Test Item 2 "/>
                <telerik:RadListBoxItem Text="Test Item 3 Test Item 3 Test Item 3 "/>
                <telerik:RadListBoxItem Text="Test Item 4 Test Item 4 Test Item 4 " />
            </Items>
        </telerik:RadListBox>
        </telerik:RadToolTip>
  
    </div>
    </form>
</body>
</html>

Thanks,
James
Marin Bratanov
Telerik team
 answered on 02 May 2012
1 answer
137 views
Hi,

What is the simple way to open a tooltip confirmation window from RadTextBox incorporated Button?
Thanks,

Marcio Nascimento
Marin Bratanov
Telerik team
 answered on 02 May 2012
1 answer
95 views
Hi,

I have a radeditor that I'm loading dynamically during a postback.  It is inside a panelbaritem which is initially hidden.  I've attached an image showing how it is being rendered initially.  Has anyone came across this and know a remedy?

I have radeditors displaying which are not rendered dynamically, and they are all fine.  There are also radeditors loaded dynamically and initially shown in the panelbar - they are also fine.

I've attached an image which highlights the problem.

Many thanks,
Michael
Rumen
Telerik team
 answered on 02 May 2012
1 answer
73 views
Hi Guys,

Please try to add the following html code in ASP.NET Ajax  Editor:
<table>
    <tbody> 
        <tr>
            <th>Column one </th>
            <th>Column two </th>
        </tr>
        <tr>
            <td>Test</td>
            <td>Test</td>
        </tr>
    </tbody>
</table>
After that try to change the table using RightMouseClick -> Table Properties (you can change any property of the table).
Click OK and switch to HTML mode. You can see that all <th> tags are replaced with the <td> ones.
Also the <th> tag in the first row isn't added after adding an extra column to the table.
Is this a bug or is it an expected behavior?
Is there an easy workaround for the issue?

Thank you in advance.
Best Regards,
Yuriy
Rumen
Telerik team
 answered on 02 May 2012
10 answers
313 views
I'm trying to create a calendar that isn't clickable but displays special days to my users.  It will need to cover multiple years.  With the code below it shows my april special day but doesn't show the may one.  Also how can I have the cells have equal sizes?  Also where are these classes located that are added as part of the control?

<telerik:RadCalendar ID="RadCalendar1" runat="server"
      ShowOtherMonthsDays="False" Skin="Outlook" CellAlign="NotSet"
      CellVAlign="NotSet" EnableMultiSelect="False" ShowRowHeaders="False"
      TitleAlign="Center" UseColumnHeadersAsSelectors="False"
      UseRowHeadersAsSelectors="False" DayNameFormat="Short"
      EnableMonthYearFastNavigation="False">
<DayOverStyle CssClass="rcHover"></DayOverStyle>
 
<FastNavigationStyle CssClass="RadCalendarMonthView RadCalendarMonthView_Outlook"></FastNavigationStyle>
 
<DisabledDayStyle CssClass="rcDisabled"></DisabledDayStyle>
 
<WeekendDayStyle CssClass="rcWeekend"></WeekendDayStyle>
 
<ViewSelectorStyle CssClass="rcViewSel"></ViewSelectorStyle>
 
<SelectedDayStyle CssClass="rcSelected"></SelectedDayStyle>
 
<CalendarTableStyle CssClass="rcMainTable" BackColor="#DDEEFF" Height="400px"
        HorizontalAlign="Left" Width="600px"></CalendarTableStyle>
 
<OtherMonthDayStyle CssClass="rcOtherMonth"></OtherMonthDayStyle>
 
<OutOfRangeDayStyle CssClass="rcOutOfRange"></OutOfRangeDayStyle>
 
<SpecialDays>
  <telerik:RadCalendarDay Date="2012/04/21" TemplateID="DateTemplate" />
  <telerik:RadCalendarDay Date="2012/05/22" TemplateID="DateTemplate2" />
</SpecialDays>
<CalendarDayTemplates>
  <telerik:DayTemplate ID="DateTemplate" runat="server">
    <Content>
      <div class="rcTemplate rcDayDate">
        Collection
      </div>
    </Content>
  </telerik:DayTemplate>
 
  <telerik:DayTemplate ID="DateTemplate2" runat="server">
    <Content>
      <div class="rcTemplate rcDayDate">
        Collection 2
      </div>
    </Content>
  </telerik:DayTemplate>
</CalendarDayTemplates>
    </telerik:RadCalendar>

Thank you
Andrey
Telerik team
 answered on 02 May 2012
1 answer
74 views
Hi Team,

My requirement is to take the REASON while cancelling the appointment.I have used the Advance Form for Editing & Inserting,now I want to use the same template for cancelling the appointment as well.
I have tried to use the RadDock,but by having it in the Scheduler form my other functioality (Advance Form,Rad Tool Tip) doesnot work.
Plz help me to complete this ASAP.

Regards

 
Plamen
Telerik team
 answered on 02 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?