Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
155 views
We have provided the node text edit functionality using the context menus and If the user enters any special characters while editing the node text we need to do the following things:

1. Cancel the update .
2. Set the focus back to the node in edit mode with the old text showing.

We tried using the eventArgs.set_cancel(true); from the help/samples, that takes care of requirement 1 but not 2.
If I use eventArgs.set_cancel(true); node.startEdit(); the ClientNodeEdited event never gets fired.

I will appreciate if you could provide a way to implement these requirements.
Thanks
Som
 




Yana
Telerik team
 answered on 27 Jan 2009
1 answer
115 views
Everytime I apply the css file separately .. its classes overwrite my orginal classes .. especially the body, form and table tags
Martin
Telerik team
 answered on 27 Jan 2009
1 answer
92 views
Is it possible to specify styles on the automatically created edit fields?

For example I have a string column that I would like to be 500px wide. Is there a way to do that without having to create a gridtemplate column?

I'd only want that one particular column to be that width, and not all other text fields in the grid.
Shinu
Top achievements
Rank 2
 answered on 27 Jan 2009
3 answers
271 views
how can you disable the Add New Link until edit is updated   I don't want user to be able to add a record if they are currently updating one at the same time   I assume this is done via RadGrid1_ItemCommand


Using:

 

<CommandItemSettings AddNewRecordText="Add new record" AddNewRecordImageUrl="Images/AddRecord.gif"

 

 

RefreshText="Refresh" RefreshImageUrl="Images/Refresh.gif" />

 

Shinu
Top achievements
Rank 2
 answered on 27 Jan 2009
2 answers
171 views
I want to programatically rotate the XAxis label by 90 degrees 

I've tried code like:
StyleAxisX sl = new StyleAxisX(RadChart1.PlotArea.XAxis);
sl.LabelAppearance.RotationAngle = 90;
chartSeries.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = sl.LabelAppearance.RotationAngle;

However, I get "Object reference not set to an instance of an object.".

I've tried other ways but can't resolve the problem; always the "object reference... " message.

Would be grateful for your help (am a relative Telerik newby but experienced .NET programmer).

TIA

Barry
Barry
Top achievements
Rank 1
 answered on 27 Jan 2009
2 answers
145 views
Hi,
We are using the RadEditor and are trying to prevent users from entering <script> tags while in HTML mode.
We have used the RemoveScripts filter on the control however it doesnt seem to prevent the XSS being saved.
When we read the data from the control the script code is still present.
Many thanks
Kevin
Svetlina Anati
Telerik team
 answered on 27 Jan 2009
16 answers
518 views
Hello,
      I have a problem with RadAjaxManagerProxy. For me the page gets refreshed fully when there is change event occurred in telerik RadComboBox. I have the following controls in my user control.

1. Telerik RadComboBox
2. three Asp.net panel controls.

This user control page is loaded to CMS authoringcontainer by overriding this method.

CreateAuthoringChildControls(

BaseModeContainer authoringContainer)

Based on the telerik combobox selection i will show / hide my asp panels. I am using RadAjaxManagerProxy as my RadAjaxManager exists in my master page. Below is my RadAjaxManagerProxy code.

<telerik:RadAjaxManagerProxy ID="RadAjaxMgrProxy" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="TypeComboBox">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="ContentPanel1" />
                <telerik:AjaxUpdatedControl ControlID="ContentPanel2"/>
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy> 

I have my enabled the autopostback = "true" for that radcombobox.

For me everything looks fine but still my entire page is getting refreshed. Please do let me know what i have missed here.

Regards,
Elango

Kaj Bonfils
Top achievements
Rank 1
 answered on 27 Jan 2009
2 answers
180 views
I have a radgrid bound to a declarative datasource. 
The grid uses automatic updates, inserts, and deletes
with a popup edit form based on a two-way databinding
form template.  The code-behind subscribes to the
ItemUpdated,ItemDeleted, and ItemInserted events
to check for automatic operation exceptions and forward
those on to the user / master page gui.

After the user clicks the insert or update button, I want
to cross-check the entries from the edit form and pehaps
maniputate them.  Such as if a user enters a value over
some server-calculated maximum it would then simply
set the value to the maximum and allow the update to
continue.  I want to set the values of other fields that
the user cannot enter based on their entries.  I do not
want to trap these client-side before the server is hit
using validators.

What syntax would I use in the server-side codebehind
to access the user entries?   And in which server-side
events?   And how would I then manipulate the values
such that my updates overrode those of the user before
the database update is performed?

Thanks, Scott

I
Iana Tsolova
Telerik team
 answered on 27 Jan 2009
3 answers
347 views

Do you have an example that has 2 date pickers like the DatePicker example at 
http://www.telerik.com/demos/aspnet/prometheus/Calendar/Examples/Overview/DefaultCS.aspx
but the date pickers are inside a toolbar?
I hope the example shows how to initialize dates from code-behind and how to get the dates that have been selected by the user.

I tried to follow that non-toolbar example but I got:

Compiler Error Message: CS0103: The name 'RadDatePickerA' does not exist in the current context

******

  <rad:RadToolBar Width="470px" Height="34px" Font-Size="Smaller" runat="server" ID="tb1"
    Skin="Outlook" usefadeeffect="True" AutoPostBack="True" OnButtonClick="tb1_ButtonClick">
    <CollapseAnimation Duration="200" Type="OutQuint" />
    <Items>
    
     <rad:RadToolBarButton PostBack="false" Value="btnPickA">
    
      <ItemTemplate>
       <label for='<%= RadDatePickerA.DateInput.ClientID + "_TextBox" %>'>
        Start:</label>
       <rad:RadDatePicker ID="RadDatePickerA" runat="server" MinDate="2006-01-01" SelectedDate="2006-12-24"
        SharedCalendarID="SC1" Width="100px">
        <Calendar ID="Calendar1" runat="server" EnableEmbeddedSkins="false" Skin="WebBlue">
        </Calendar>
       </rad:RadDatePicker>
      </ItemTemplate>
      <ItemTemplate>
       <rad:RadCalendar ID="SC1" runat="server" EnableMultiSelect="false" RangeMinDate="2006/01/01"
        EnableEmbeddedSkins="false" Skin="WebBlue">
       </rad:RadCalendar>
      </ItemTemplate>
     </rad:RadToolBarButton>
     <rad:RadToolBarButton AccessKey="r" ImageUrl="~\Images\Refresh.gif" Text="Refresh"
      ToolTip="Refresh (Alt+R)" Width="67px" />
     <rad:RadToolBarButton IsSeparator="true">
     </rad:RadToolBarButton>
     </Items>
   </rad:RadToolBar>

Sebastian
Telerik team
 answered on 27 Jan 2009
7 answers
414 views
Hi,
I m new in RadControls , Is there any control exist to make  ToDo list ? like Microsoft Office Outlook , i have seen RadSchedular but i want same control like Microsoft Office Outlook.

Regards,

Qudsia
Qudsia
Top achievements
Rank 1
 answered on 27 Jan 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?