Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
47 views
Is it possible to attach a asp.net/custom control to the pane header? Please see the attachment to see what I mean byt that.

Thanking you for your earliest attention
Suraj
Top achievements
Rank 1
 answered on 05 Aug 2010
1 answer
132 views
Hi,

I have read the article on "Disabling the Anchor tab on the Link Manager" and that seems straight forward but I want to add a new property, tracktag,  to the Hyperlink Manager tab - is this possible?

I have looked in the LinkManager.ascx and this seems fine and I can create a new field and label for my tracktag property but how do:
  1. Save the tracktag property in to an attribute in the created anchor link
  2. retrieve the value of the tracktag if its an existing anchor link

It really would be a pain if I had to create new customised dialogs for this purpose.

Also, is there any detailed information regarding radeditor extensions and they seem to be in snipets all over the place.

Thanks,
Graham

 

Dobromir
Telerik team
 answered on 05 Aug 2010
2 answers
299 views
I am using radtextbox on a form with no radgrid.  I am trying to find the control using the findcontrol method but I have not been successful.   The code is very simple:

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 
<telerik:RadFormDecorator ID="RadFormDecorator1" Runat="server"
 Skin="WebBlue" />  
 
<div  class="tablediv">
<div class="rowdiv">
 
<div  class="celldivleft">First Name:</div>
<div  class="celldivright">
    <asp:TextBox ID="FirstNameBox" runat="server"></asp:TextBox></div>
</div>   
     
<div class="rowdiv">
 
<div  class="celldivleft">Last Name:</div>
<div  class="celldivright">
    <asp:TextBox ID="LastNameBox" runat="server"></asp:TextBox></div>
 </div>  
  
<div class="rowdiv">
<div  class="celldivleft">Last Name:</div>
<div  class="celldivright"><telerik:RadTextBox ID="RadTextBox1" runat="server">
    </telerik:RadTextBox></div>
     
</div>
     
       
    <div class="rowdiv">
     
        <div  class="celldivleft">
         
        </div>
         
        <div  class="celldivright">
         
            <asp:Button ID="SubmitButton" runat="server" Text="Submit"
        onclick="SubmitButton_Click" />
        </div>
    </div>
     
</div>
  
 
</asp:Content>

And the code behind to find the control:

protected void Page_InitComplete(object sender, EventArgs e)
    {
          RadTextBox rtb = (this.Page.FindControl("RadTextBox1") as RadTextBox);
 
    }

No matter what I do rtp comes up null...cannot find control.   I am new to Telerik so it is probably something stupid but can you help?

Thanks,

Eric
Eric Schuler
Top achievements
Rank 1
 answered on 05 Aug 2010
4 answers
254 views
Hi guys,

Appreciate if someone could share with me on how can I get RadAsyncUpload working in web farm environment.

On this page it mentioned the control supports Web Farm scenarios.
http://www.telerik.com/help/aspnet-ajax/async-upload-overview.html

By the way, setting the TargetFolder to a dedicated file server is not an option.
And I am using version 2010.2.713.35.

Any help would be greatly appreciated.

Thank you.
Eric Wong
Top achievements
Rank 1
 answered on 05 Aug 2010
4 answers
203 views
The following code will show the Insert for when my page loads...
if (!Page.IsPostBack)
{
     Grid.MasterTableView.IsItemInserted = true;
     Grid.Rebind();
}
But it does not fire the InitInsert command, which I use to initialize my insert form,with default valus and the like.  How can I get the form to display and fire the InitInsert Command, or is there a better way I should be tackling this issue.

Thanks,
Joe
Joseph Roberts
Top achievements
Rank 1
 answered on 05 Aug 2010
3 answers
166 views
I'm using a web service as the datasource to load appointments into RadScheduler.  Does the ajax LoadingPanel work with a web service?  I can't seem to get it to display when navigating appointment in the RadScheduler.
Veronica
Telerik team
 answered on 05 Aug 2010
9 answers
218 views
Hi,

I am showing a photo gallery and allow users to move the photos and drop at the category repeater.
I have seen the demo in the website.

http://demos.telerik.com/aspnet-ajax/listview/examples/itemdragdrop/defaultcs.aspx

can anyone explain to me about the code ? I am doing something like the demo but i am not dropping song to genre

but i am dropping image to different category.

Can anyone guide to do that ?

Kind Regard,
kea
eran
Top achievements
Rank 1
 answered on 05 Aug 2010
6 answers
169 views
Please help...losing my mind trying to get this to work.

Simple scenario...

Radcombo on rcb.aspx page with a button that opens rad window (works)
radwindow has a form to enter new value to db (works)...upon closing the windows the radcombo should refresh, it's not even though record is successgully added to db.  I have looked through various examples and it should work but it's not

 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="SqlDataSource1" />
                        <telerik:AjaxUpdatedControl ControlID="RadComboBox1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="RadComboBox1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadComboBox1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>

<telerik:RadComboBox ID="RadComboBox1" runat="server" EnableViewState="false" AutoPostBack="true"
        DataSourceID="SqlDataSource1" DataTextField="CompanyName" DataValueField="CompanyID">
    </telerik:RadComboBox>
    <asp:Button ID="Button1" runat="server" Text="Button" CausesValidation="False" />
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
        <Windows>
            <telerik:RadWindow ID="RadWindow1" runat="server" Behavior="Default" InitialBehavior="None"
                Left="" NavigateUrl="clientwindow.aspx" OpenerElementID="Button1" Style="display: none;"
                Top="" OnClientClose="ClientClose">
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>
    <telerik:RadCodeBlock runat="server">

        <script type="text/javascript">
            function openWindow() {
                var oWnd = radopen("ClientWindow.aspx", "RadWindow1");
                oWnd.setSize(495, 340);
                var combo = $find("<%=RadComboBox1.ClientID %>");
                //combo.setvalue("");
            }

            //        function selectedIndexChanging(sender, args) {
            //            if (args.get_item().get_value() == "-1")
            //                args.set_cancel(true);
            //        }

            function ClientClose(arguments) {
                var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
                ajaxManager.ajaxRequestWithTarget('<%= RadAjaxManager1.UniqueID %>', '');
            }
        </script>

    </telerik:RadCodeBlock>

vb code:
the codes executes but it seems the radcombo is not ajaxified
Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As Telerik.Web.UI.AjaxRequestEventArgs)
        'Bind the RadComboBod


        RadComboBox1.DataSource = Nothing
        RadComboBox1.DataBind()
        SqlDataSource1.DataBind()
        RadComboBox1.DataSourceID = "SqlDataSource1"

        RadComboBox1.DataBind()
        ' RadComboBox1.

    End Sub

jolynice
Top achievements
Rank 1
 answered on 05 Aug 2010
1 answer
92 views
Hi,

I could implement data validation for a texbox using spring.net. But I could not implement data validation in RadGrid using Spring.NET.
Can you give me one example on how to implement data validation in RadGrid using Spring.NET.

I have a column in the rad grid which is editable and the condition is user should enter only integers.
Iam using DTO as a datasource for the grid. Each DTO has 5 columns.

RadGrid.Datasource = DTOList;    // C# code

Your help is very much appreciated. Thank you.
Veli
Telerik team
 answered on 05 Aug 2010
5 answers
253 views
Hi, 
    i have a radcombobox for autocomplete.

 

    I use web service for populate combobox.
    I want to send variables to web service from any other item's value on form (textbox,dropdown etc.)
    Ajaxautocomplete extender, there is UseContextKey feature.

    For radcombobox is there any feature?

    Regards.

 

Simon
Telerik team
 answered on 05 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?