Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
160 views
I have a textbox whixh is defined like below.

<telerik:RadTextBox ID="rtbUserName" runat="server" Width="98%" ShouldResetWidthInPixels="false">
</telerik:RadTextBox>

And when i want to set it's value by using jquery. See the following code line.
$('input[id$=rtbUserName_text]').val("Test");

The value is correctly set in the textbox. But when i enter the textbox to change the value. The whole value disappears.

Can someone please tell me if it's possible what i want. Because i don't want to work with client id's.
Dimo
Telerik team
 answered on 16 Aug 2010
1 answer
118 views
My RadGrid has a Screen Grouping Where I have Year, Count and Total Amount with the year being the group by expression.  This displays fine on the web page, however, when I export to EXCELML format, the year is displayed but the count and total amount are omitted.

Example

Year: 2010; Count: 55; Total Amount $500.00

What is exported is just

Year 2010;


Thanks,
Nathan Lacoff
Daniel
Telerik team
 answered on 16 Aug 2010
1 answer
141 views
I have created a simple AJAX-Enabled web site project in VS2005. In the Default.aspx I have put a Calendar Control and a Datepicker. Both the cobtrols are showing perfectly at design time. Even the Skin changes are working properly. But when I run the project from VS2005, it is not showing up properly in IE (Ver 6.0). 

RAD Control Version is v.2010.1.1519.20

A javascript error is showing in IE (Sys is undefined).

Any idea what's wrong?

Regards
Ron
Dimo
Telerik team
 answered on 16 Aug 2010
1 answer
116 views
I am using telerik ajax radDatapager in Listview . Its working fine without chrome and safari. I send image bellow:when browser is chrome and When Browser is Safari . I have write many css in ".RadDataPager .rdpWrap" class but don't working. plz solve this problem.
Dimo
Telerik team
 answered on 16 Aug 2010
1 answer
253 views
Hello Team,

I have a problem in refreshing the Tabs selection. Problem description as below.

1) I have two tabs (Tab1 , Tab2) . There is a textbox and a button on Tab1, when the user clicks on button it should redirect the user to Tab2 to show some additional controls and data.

2) Currently i can select the  Tab2 but the contents on page view are still from Tab1 and not Tab 2.

Please help me in solving this problem..I have seen all the articles provided by telerik but none seems solving the issue.

Awaiting for your replies.

Below is the sample code given.
<telerik:RadTabStrip ID="tabRawReliable" runat="server" Skin="Simple" MultiPageID="RadMultiPage1" SelectedIndex="0">
                                    <Tabs>
<telerik:RadTab text="Tab1" Value="View" Font-Bold="true" PageViewID="PageView1"/>
<telerik:RadTab text="Tab2" Value="Edit" PageViewID="RadPageView2"/>
                                    </Tabs></telerik:RadTabStrip>
  
<telerik:RadMultiPage ID="RadMultiPage1" runat="server">
 <telerik:RadPageView ID="PageView1" runat="server" >
<asp:TextBox id ="txt1" runat="server"/>
<asp:ImageButton  ID="imgAddNew" runat="server" />
</telerik:RadPageView>
<telerik:RadPageView ID="RadPageView2" runat="server">
<asp:TextBox id ="txt1" runat="server"/>
<asp:TextBox id ="txt2" runat="server"/>
<asp:TextBox id ="txt3" runat="server"/>
<asp:TextBox id ="txt4" runat="server"/>
<asp:Button  ID="Submit" runat="server" />
</telerik:RadPageView>                               </telerik:RadMultiPage>                                                               
                                   


Regards
Sudhakar
Yana
Telerik team
 answered on 16 Aug 2010
1 answer
87 views
That way I can move cell by cell in radgrid?
Up down left right.
With the arrow keys on the keyboard.
Dimo
Telerik team
 answered on 16 Aug 2010
3 answers
173 views
asp.net Ajax Q2 2010 with IE8

Have existing resizable TextBox which I want to convert to a RadTextBox:-

 

<asp:Panel ID="Pan_dataAdditionalContactInformation" runat="server" Width="410" Height="32" ScrollBars="None"><asp:TextBox runat="server" ID="dataAdditionalContactInformation" Text='<%# Bind("AdditionalContactInformation") %>' TextMode="MultiLine" MaxLength="200" Width="420" ToolTip="Example; Any morning between 10 11am except Wednesday or Saturday" /></asp:Panel

 

 

 

 

<ajaxToolkit:ResizableControlExtender ID="rce_dataAdditionalContactInformation" runat="server" TargetControlID="Pan_dataAdditionalContactInformation" ResizableCssClass="resizingText" HandleCssClass="handleText" MinimumWidth="420" MinimumHeight="32" MaximumWidth="420" MaximumHeight="250" HandleOffsetX="5" HandleOffsetY="5" OnClientResizing="ResizeTextBox" /> 

 

 

 

 

function

 

ResizeTextBox(sender, eventargs) {

 

 

 

var element = sender.get_element();

 

 

element.children[2].style.height = element.style.height;

element.children[2].style.width = element.style.width;

 

return false;

 

 

}

I changed the TextBox to a RadTextBox and use the ResizeRadTextBox function:-

function ResizeRadTextBox(sender, eventargs) {

 

 

 

var element = sender.get_element();

 

 

element.children[2].children[0].style.height = element.style.height;

element.children[2].children[0].style.width = element.style.width;

 

return false;

 

 

}

 


The resizing works, however, as soon as the cursor moves back over the resized RadTextBox it reverts back to its original size.

I have had similar issues where I have been using the wrong method to set the property but can't seem to find a way to set it correctly.

Thanks

 

 

Dimo
Telerik team
 answered on 16 Aug 2010
1 answer
113 views
Hi

I'm using your example of a tree in a combo box - http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/treeviewcombobox/defaultcs.aspx?product=treeview

This uses a button to postback , I need to have the control auto postback. But I have a problem where the value is not in the combobox, but if I open it the value in the tree is still selected.

What am I doing wrong.

Andy
Simon
Telerik team
 answered on 16 Aug 2010
3 answers
146 views
Hi,

I'm facing the issues in "Data Binding". In Appointment Template i placed two values as i shown the code below.
But in outcome, it the values are placing two times in the calender.

<

 

asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

 

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="RadScheduler1">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

 

 

<telerik:RadAjaxLoadingPanel ID="radAjaxLoadingPanel1" runat="server" EnableEmbeddedSkins="false" />

 

 

<div style="width: 743px; height: 560px; background: transparent url('Images/background.png') no-repeat 0 0;

 

 

padding-top: 34px; padding-left: 7px;">

 

 

<div style="color: #000; font: 14px 'Segoe UI', Arial, sans-serif; position: static;

 

 

top: 5px; padding-left: 5px;">

 

My Schedule

 

</div>

 

 

<telerik:RadSplitter ID="radSplitter1" runat="server" PanesBorderSize="0" Skin="Web20"

 

 

Width="750" Height="500" Style="border: solid red 1px;">

 

 

<telerik:RadPane ID="leftPane" runat="server" Width="240px" MinWidth="240" MaxWidth="300"

 

 

Scrolling="None">

 

 

<div style="width: 220px; margin: 7px auto;">

 

 

<telerik:RadCalendar runat="server" ID="RadCalendar1" Skin="Web20" OnSelectionChanged="radCalendar1_SelectionChanged"

 

 

AutoPostBack="true" EnableMultiSelect="false" DayNameFormat="FirstTwoLetters"

 

 

OnDefaultViewChanged="radCalendar1_DefaultViewChanged" EnableNavigation="true"

 

 

EnableMonthYearFastNavigation="false">

 

 

</telerik:RadCalendar>

 

 

<telerik:RadCalendar ID="RadCalendar2" runat="server" Skin="Web20" OnSelectionChanged="radCalendar2_SelectionChanged"

 

 

AutoPostBack="true" EnableMultiSelect="false" DayNameFormat="FirstTwoLetters"

 

 

EnableNavigation="true" EnableMonthYearFastNavigation="false">

 

 

</telerik:RadCalendar>

 

 

</div>

 

 

</telerik:RadPane>

 

 

<telerik:RadSplitBar runat="server" ID="RadSplitBar2" CollapseMode="Forward" />

 

 

<telerik:RadPane runat="Server" ID="rightPane" Scrolling="None" Width="500px">

 

 

<telerik:RadScheduler runat="server" ID="RadScheduler1" Height="500px" Skin="Web20" CustomAttributeNames="StartTime,EndTime,SessionDate"

 

 

ShowViewTabs="true" ShowHeader="true" ShowFooter="true" SelectedDate="2010-07-11"

 

 

DataStartField="StartTime" DataEndField="EndTime" EnableDescriptionField="true"

 

 

DayStartTime="08:00:00" AllowInsert="false" AllowEdit="false" AllowDelete="false" ReadOnly="false"

 

 

DayEndTime="21:00:00" FirstDayOfWeek="Monday" DataKeyField="SessionId" DataSubjectField="SessionDate" Columns="1"

 

 

LastDayOfWeek="Friday" EnableEmbeddedSkins="false" OnNavigationComplete="radScheduler1_NavigationComplete">

 

 

<AdvancedForm Modal="true" />

 

 

 

 

<AppointmentTemplate >

 

 

 

<div style="text-align: left; margin: 0 0 3px; font-size: 11px; font-weight: bold;

 

 

color: #369; height: 17px; border-bottom: 1px solid #8bf; width: 100%;">

 

 

<asp:Label runat="server" Text='<%# Eval("StartTime")%>' ID="RecurrenceIcon" />

 

 

<asp:Label runat="server" Text='<%# Eval("EndTime")%>' ID="Label1" />

 

 

 

</div>

 

 

</AppointmentTemplate>

 

 

<ResourceTypes>

 

 

<telerik:ResourceType KeyField="ID" Name="SessionDate" TextField="SessionDate" ForeignKeyField="SessionDate" />

 

 

</ResourceTypes>

 

 

</telerik:RadScheduler>

 

 

</telerik:RadPane>

 

 

</telerik:RadSplitter>

 

 

</div>

 

</

 

asp:Content>

 


output:

(12) in date of calender
   
    12:00AM
    11.55PM
    12:00AM
    11.55PM

I need only one databind value..d\not to repeat two times.


Thanks,
Daniel.B
Peter
Telerik team
 answered on 16 Aug 2010
3 answers
131 views
hi

I have enable scrolling on a grid and it worked. But  the scrolling height is not 100% and how should i get 100% scroll height. Also, it seems that my data in the grid seems cut off. I have set the content Clipping to false but still it is cut off. What should i do? thanks
Dimo
Telerik team
 answered on 16 Aug 2010
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?