Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
101 views
Hi, i am using radspell to spell check a radeditor by using a custom text source. this is working fine. i have lots of problems with the ajax spell checker in rad editor so don't want to use it - the biggest being it's reacting to a timer on the page. this is a huge problem as when you are sepll checking, if the timer event fires, the spell checker moves onto the next word without any user input!!

the spell check of the radeditor is working well. i've got it working using a custom text source. Radspell doesn't seem to work natively with the radeditor by setting the contoltocheck property so this is the only way that i could see to do it.

i also need to spell check a normal asp.net textbox at the same time (it's basically a subject field and a body field for an email app).

i can't see how to do this as i'm using the custom text source.

i tried setting up a second custom text source and calling spell.spellcheck() twice - first with the text source for the asp.net text box and then again for the radeditor, but only the last call ever seems to fire the spell checker.

any ideas?
James
Top achievements
Rank 1
 answered on 14 Jul 2009
1 answer
69 views
Hello,
I am saving recurrence rule in the database in recurrence field ,  I am able to retrieving  appointments from the database by reading the recurrence rule and temporally  putting those records in  session variable . but  how to edit and delete  particular appointment   in recurrence series ?

Regards
Samir
Peter
Telerik team
 answered on 14 Jul 2009
1 answer
105 views
Hi,
I have radcombo box inside a radgrid as,

<rad:PageView ...
<rad:RadGrid ...
<MasterTableView ...
<rad:GridTemplateColumn..
<ItemTemplate>... </ItemTemplate>
<EditItemTemplate>
<rad:RadComboBox ... AllowCustomText="true" MarkFirstMatch="true">


This combobox has a first item as 'SELECT ITEM'. When i type 'S' in the combo box this item is getting selected or shown in the combobox. 
I would like to exclude this item. How to achive this functionality?

Thanks,
Poornima
Shinu
Top achievements
Rank 2
 answered on 14 Jul 2009
2 answers
141 views
How do i change the colour of a row in a grid depending on a variable from the results comming in from a datasource

Many thanks

Kevin
Princy
Top achievements
Rank 2
 answered on 14 Jul 2009
3 answers
119 views

I have an issue while moving columns (for column reordering), if we keep column header static (not to be affected with the scroll) then we get an issue where data underneath is reordered but the column names stay in their place

Sebastian
Telerik team
 answered on 14 Jul 2009
2 answers
320 views
I need to insert/update/delete records programmatically. Here is my code

ascx:

<%

@ Control Language="C#" Inherits="YourCompany.Modules.Tahakkuk.ViewTahakkuk" AutoEventWireup="true" CodeBehind="ViewTahakkuk.ascx.cs" %>

 

<%

@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

 

 

Namespace="System.Web.UI" TagPrefix="asp" %>

 

<%

@ Register Assembly="Telerik.Web.UI, Version=2009.1.527.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"

 

 

Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

 

 

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

 

 

<script type="text/javascript">

 

 

function RowDblClick(sender, eventArgs)

 

{

sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical());

}

 

</script>

 

 

</telerik:RadCodeBlock>

 

 

 

 

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

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="RadGrid1">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="RadGrid1" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

 

 

 

 

<

telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticUpdates="true" AllowAutomaticDeletes="true"

 

AllowSorting

="True" AutoGenerateColumns="true" AllowPaging="True" GridLines="None" ShowFooter="True" AllowMultiRowSelection="True"

 

 

PageSize="7" AllowMultiRowEdit="True" AllowAutomaticInserts="True" OnItemDeleted="RadGrid1_ItemDeleted">

 

 

<PagerStyle Mode="NextPrevAndNumeric" />

 

 

<MasterTableView Width="100%" CommandItemDisplay="Top"

 

 

DataKeyNames="HizmetID">

 

 

<CommandItemTemplate>

 

 

<div style="padding: 5px 5px;">

 

Custom command item template

&nbsp;&nbsp;&nbsp;&nbsp;

 

 

<asp:LinkButton ID="btnEditSelected" runat="server" CommandName="EditSelected" Visible='<%# RadGrid1.EditIndexes.Count == 0 %>'>Edit selected</asp:LinkButton>&nbsp;&nbsp;

 

 

<asp:LinkButton ID="btnUpdateEdited" runat="server" CommandName="UpdateEdited" Visible='<%# RadGrid1.EditIndexes.Count > 0 %>'>Update</asp:LinkButton>&nbsp;&nbsp;

 

 

<asp:LinkButton ID="btnCancel" runat="server" CommandName="CancelAll" Visible='<%# RadGrid1.EditIndexes.Count > 0 || RadGrid1.MasterTableView.IsItemInserted %>'>Cancel editing</asp:LinkButton>&nbsp;&nbsp;

 

 

<asp:LinkButton ID="LinkButton2" runat="server" CommandName="InitInsert" Visible='<%# !RadGrid1.MasterTableView.IsItemInserted %>'>Add new</asp:LinkButton>&nbsp;&nbsp;

 

 

<asp:LinkButton ID="LinkButton3" runat="server" CommandName="PerformInsert" Visible='<%# RadGrid1.MasterTableView.IsItemInserted %>'> Add this Customer</asp:LinkButton>&nbsp;&nbsp;

 

 

<asp:LinkButton ID="LinkButton1" OnClientClick="javascript:return confirm('Delete all selected customers?')"

 

 

runat="server" CommandName="DeleteSelected">Delete selected customers</asp:LinkButton>&nbsp;&nbsp;

 

 

<asp:LinkButton ID="LinkButton4" runat="server" CommandName="RebindGrid">Refresh customer list</asp:LinkButton>

 

 

 

</div>

 

 

</CommandItemTemplate>

 

 

</MasterTableView>

 

 

<ClientSettings>

 

 

<Selecting AllowRowSelect="True" EnableDragToSelectRows="True" />

 

 

</ClientSettings>

 

</

telerik:RadGrid>

 



And all i have in ascx.cs is as follows:

protected void RadGrid1_ItemDeleted(object source, GridDeletedEventArgs e)
        {
            e.ExceptionHandled = true;
        }

 

protected void Page_Load(object sender, System.EventArgs e)

 

{


EntityCollection

<HizmetEntity> hizmet = new EntityCollection<HizmetEntity>();  // Here is how i get an     collection     to     use     as     a source for my RadGrid

 

DBAdapter.FetchEntityCollection(hizmet,

null);

 

 

 

RadGrid1.DataSource = hizmet;

RadGrid1.MasterTableView.DataSource = hizmet;

RadGrid1.DataBind();


}

private

DataAccessAdapter _dbAdapter;

 

 

private DataAccessAdapter DBAdapter

 

{

 

get

 

{

 

if (_dbAdapter == null)

 

{

_dbAdapter =

new DataAccessAdapter();

 

_dbAdapter.ConnectionString =

"";

 

}

 

return _dbAdapter;

 

}

}


What should i do to handle insert/delete/update?  Where and how should i relate RadGrid to my programmatically created DataSource and its insert/update/delete query?

Thanks in advance...
Kem Arda
Top achievements
Rank 1
 answered on 14 Jul 2009
3 answers
181 views
Hi:

I am trying to place a raddock in a specific area of a web page (I don't want to use top and left properties of the raddock), when I look at the source code of the web page it always create the following style: 'position:absolute,top:0,left:0' , how I can either remove the absolute position or set it to relative and also remove the top and left properties, because I need to place the dock below an anchor control.

Also I have a radeditor inside a raddock, I would like to resize the dock control while resizing the editor or the otherway round.

Thanks
Jim
Top achievements
Rank 1
 answered on 14 Jul 2009
1 answer
244 views
Can one use this new control in an MVC application and if so how and could you post a small working application?

TIA, Tom
Lini
Telerik team
 answered on 14 Jul 2009
7 answers
332 views
hi,

How can I replace RadNumericTextbox (attached with client event OnValueChanged) with RadInputManager and Asp:Textbox? As InputManager only exposes "OnBlur, OnError, OnFocus and OnKeyPress" events.

Thanks

Ali
Iana Tsolova
Telerik team
 answered on 14 Jul 2009
5 answers
94 views
Hi All,
         I want to be able to advance the end time by a certain time duration determined by a value in the database. Is there anyway I can achieve this ?

Thanks,
Aditya


Peter
Telerik team
 answered on 14 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?