Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
133 views
In previous version of telerik OnRowDeleted="RowDeleted" OnRowDeleting="RowDeleting" events of RadGrid
are fireing but in latest version its not working

How to handle this 
Pavlina
Telerik team
 answered on 07 Jan 2010
3 answers
262 views
I am trying to use a RadTextBox with an ajax-AutoCompleteExtender. However the list  does not return. If I use an asp textbox it works fine. Can someone tell me why I am unable to use a RadTextBox ? ior Am I missing something ?

Here is the code :
  <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
 <asp:Label ID="lblRepName" runat="server" Text="Agent:" CssClass="LblName"
        Width="110px"></asp:Label>  
   <telerik:RadTextBox ID="txtRepName" runat="server" AutoPostBack="True"  ontextchanged="txtRepName_TextChanged">
        </telerik:RadTextBox>
    <ajaxToolkit:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" TargetControlID="txtRepName"
        ServicePath="~/WebServices/ESFS_Autocomplete.asmx" ServiceMethod="GetNames" MinimumPrefixLength="2"
        CompletionSetCount="15">
    </ajaxToolkit:AutoCompleteExtender>   


    here is what i have for the event handler:
   protected void txtRepName_TextChanged(object sender, EventArgs e)
    {
        //string test = txtRepName.Text.Replace(", ", "~");

        // change name from last, first to last~first       
        string reverseName = "";

        string fullName = txtRepName.Text;
        //string fullName = ddlRepName.SelectedValue;

        // txtRepName is Last, First name this will split at the ,
        // and reverse to be First~Last name
        string[] splName = fullName.Split(',');

        if (splName.Length > 0)
        {
            string Name = splName[1] + "~" + splName[0];
            reverseName = Name.Trim();
        }
        else
        {
            Response.Write("Error with Name: " + reverseName);
        }

        // look up login by First~Last name
        //EmployeeSearchBy is a method where you can look up by Name, Login, CSG login
        //email, Icoms login, ESSID, SalesID and Phone login
        //ActiveDirectoryBase ad = new ActiveDirectoryBase(reverseName, EmployeeSearchBy.Name);        
        SAIDEmployee sdUser = new SAIDEmployee("EmployeeConnectString", reverseName, EmployeeSearchBy.Name);

        _login = sdUser.DomainLogin;

        getUserInfo();
    }


Georgi Krustev
Telerik team
 answered on 07 Jan 2010
7 answers
701 views
Hi

I'm trying to use jQuery with a Radtextbox, I can read the text but I can't change it
This works fine to read the text:
alert($telerik.$('#RadTextBox1').val())
but this don't:
$telerik.$('#RadTextBox1').val('My text')

How can I change Radtextbox1 text?

Regards
Dimo
Telerik team
 answered on 07 Jan 2010
1 answer
108 views
Hi Telerik-Community,

how can I get the current expanded groups on client side (javascript)  and how can I get(set) a collaped group to expanded it on clientside (javascript).

Thanks for help.

Christian
Shinu
Top achievements
Rank 2
 answered on 07 Jan 2010
1 answer
45 views
How do you access the Bound Data for the SelectedNode on the server side?

myTreeView.SelectedNode is set, but the DataItem value is NULL. When the user selects a node and does a post back I need the Identity value of the selected node, but I'm not sure how to access it.

Any help would be appreciated.


Thanks
Greg
Shinu
Top achievements
Rank 2
 answered on 07 Jan 2010
11 answers
481 views

I need to adjust the height and width of an image when the editor's content is saved (to a database).

When an image is first inserted into the editor, it has no img height and width attributes nor a style defining the height or the width.

By dragging the image handles, When I adjust the size of the image in the editor the first time the img height and width attributes are added.  When I adjust it the second time, the img height and width attributes retain their original values and a style attribute is added with the new width and height values.

This makes my code to adjust the width and height values when saving the editor content to the server unnecessarily complicated.

How do I set up the editor so that it only uses one set of height and width values, preferably via the style attribute?

Thanking you in anticipation.

Roger

Roger Withnell
Top achievements
Rank 1
 answered on 07 Jan 2010
3 answers
99 views
Hi,
    I am using Q3 SP1. HOw can i make the RadDock behave like Modal window ?

Regards,

Osman
Svetlina Anati
Telerik team
 answered on 07 Jan 2010
3 answers
154 views
Hi,

We experience strange behavior with several versions of the radeditor for moss (v4.5.4 and v4.5.6):

Sometimes when text is being edited, the radeditor duplicates the text or part of the text at the buttom of the editor (without any formating)
It can be reproduced with this piece of text (I paste the html inside - sorry for the length)

<font size="2" face="Tahoma"></font><strong></strong><br />
<br />
<p style="margin-bottom: 0cm;"><font face="Arial, sans-serif"><font size="2"><font face="Tahoma"><font size="2"><font size="+0"><font face="Tahoma">
<p> </p>
</font></font><strong>Nieuwjaarsreceptie in de Landcommanderij Alden-Biesen (17-01-2010).<br />
<br />
</strong><img alt="" src="http://www.kviv.be/limburg/varia/luchtfoto%20alden-biesen_1_1.jpg" /><br />
<br />
<br />
KVIV Limburg nodigt U uit voor de nieuwjaarsreceptie in het prachtige kader van de befaamde Landcommanderij Alden-Biesen.<br />
We maken er een familie bijeenkomst van. De kinderen zullen speciale aandacht krijgen zowel tijdens de (korte) rondleiding als tijdens de receptie. Er wordt voor hun een speciale ruimte voorzien aanpalend aan de receptie ruimte...(spelletjes etc.)<br />
<br />
<strong>Programma:<br />
</strong><br />
10.15 - 10.30 u : ontvangst in de grote gewelfde kelder. Bordjes <br />
geven de route aan vanaf de parking.<br />
10.30 - 11.30 u. : rondleiding met gidsen. Voor de groep met <br />
de kinderen aangepast.<br />
11.30 - 13.00 u. : receptie in de grote gewelfde kelder.<br />
13.15 - 15.00 u. : lunch (optioneel) in het restaurant Buitenhof <br />
van Alden-Biesen (programma deel 2).<br />
De rondleiding en de receptie zijn gratis. Voor de lunch is de prijs 25,00 Euro p/p en 15,00 Euro voor de kindermenu.<br />
<br />
We hopen dat de leden zich massaal zullen inschrijven voor het programma met de rondleiding en de receptie. Het is een unieke gelegenheid om met de collega 's van gedachten te wisselen.<br />
Deelnemen aan de lunch zal echter de zondaguitstap compleet maken!!<br />
<br />
Een voorsmaakje van Alden-Biesen kunt u vinden op de website : <a href="www.alden-biesen.be.
Koen Gullentops
Top achievements
Rank 1
 answered on 07 Jan 2010
7 answers
971 views
I would like to disable the node selection in the Telerik Tree View.
Is there any property that I can use ?

My approach is I have added an event in the "OnClientNodeClicking" and the function is as followed
<script type="text/javascript">
function onClientNodeClicking(sender, eventArgs)
    {
        eventArgs.set_cancel(true);
    }
</script>
<table>
<tr>
            <td style="padding-left: 25px;padding-top : 10px" colspan="3">
                <rad:RadTreeView ID="rdTaxonomy" runat="server" AllowNodeEditing="false"
                     DragAndDrop="false" CheckBoxes="true" MultipleSelect="true"
                     onClientNodeClicking="onClientNodeClicking" />
            </td>            
        </tr>
</table>

This way will work only on the aspx page. But I need to make it work on the user control.

Any suggestion how it should be done on the user control (ascx) ?

Thanks


Greg Smith
Top achievements
Rank 1
 answered on 07 Jan 2010
2 answers
100 views
Hi,
  I came across a situation wherein i have to use 2 different rad panel bar with different styles without changing the theme. I tried using the cssclass, but i didnt get the desired result as expected. Please provide me  with a solution.

Thanks,
Selva
Selva M
Top achievements
Rank 1
 answered on 07 Jan 2010
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?