Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
59 views
I used the method described in the following article: Scheduler - External Edit in RadDock

The new edit form works perfectly. However, after the new edit form closes, I still have this little, tiny edit form that has no functionality. The buttons don't do anything on it. I want that tiny form to go away. Any ideas?

Thanks.
Kerry
Top achievements
Rank 1
 answered on 06 Sep 2013
2 answers
200 views
I have some simple processing going on inside a RadAjaxPanel, but when I add the RadAjaxLoadingPanel to get the spinner, the whole Panel just turns white / disappears until the postback returns. 

This is a SharePoint Visual webpart and is now happening in two different projects (different site collections), regardless of what controls are inside the RadAjaxPanel.

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"></telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"></telerik:RadAjaxLoadingPanel>
 
<telerik:RadAjaxPanel runat="server" LoadingPanelID="RadAjaxLoadingPanel1">
    ...Some postbacks
</telerik:RadAjaxPanel>
Konstantin Dikov
Telerik team
 answered on 06 Sep 2013
1 answer
177 views
I am trying to replicate my asp.net ajax control toolkit autocompletes with the telerik version of the autocomplete.  I have everything working but one portion of it.  I have the control set to select one item only and the control to postback.  On text change I would like to populate the page with a users information from the value of the autocomplete box, but the text_changed event seems not to work for this control as I get no value in teh response.write

Protected Sub radAutoComplete_TextChanged(sender As Object, e As AutoCompleteTextEventArgs) Handles radAutoComplete.TextChanged
      Dim value As String = radAutoComplete.Entries(0).Value
 
      Response.Write(value)
      Response.End()
  End Sub


I do get a value if I attach to a linkbutton and do it this way, however then they have to pick on a button to produce results.  Currently on my Ajax toolkit autocompltes it is able to show results on a text_changed event.  So is there a way to do this with telerik autocomplete.
Protected Sub lnkView_Click(sender As Object, e As EventArgs) Handles lnkView.Click
       Dim value As String = radAutoComplete.Entries(0).Value
 
       Response.Write(value)
       Response.End()
   End Sub






































Nencho
Telerik team
 answered on 06 Sep 2013
3 answers
148 views
I'm trying to achieve the same effect while loading a grid as the demos (e.g. http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/partialajaxification/defaultcs.aspx). But when my grid is updating, the RadAjaxPanel is set to display:hidden while the RadAjaxLoadingPanel is displayed. I want the semi-transparent contents of the loading panel to be displayed on top of the grid, like the demo. How can I make the ajax panel contents remain visible?
Eyup
Telerik team
 answered on 06 Sep 2013
4 answers
102 views
Hi, i have a radscheduler with many resources. 
There is a way to set color or background color to the resources labels?
I have to set different colors by a condition, so i have to do that by code.
It's possible?
TT
Top achievements
Rank 1
 answered on 06 Sep 2013
2 answers
95 views
I am trying to line up my linkbutton with the rad autocomplete but no matter what I do it always goes to the next line and the linkbutton is on next line instead of inline with the autocomplete.  Dont know hat kind of wierd styling this thing has but it will not allow anything inline with it.  how can I put my linkbutton inline with the autocomplete.  Even tried using a div but also no go.

<table style="width:100%">
       <tr>
           <td style="width:100%;text-align:center">
                <telerik:RadAutoCompleteBox ID="radAutoComplete" runat="server" OnClientRequesting="requesting" EmptyMessage="Enter Users Last Name First Name."
                   InputType="Text" TextSettings-SelectionMode="Single">
                   <WebServiceSettings path="../AutoComplete.asmx" Method="UserAccounts" />
               </telerik:RadAutoCompleteBox>
                <asp:LinkButton ID="lnkView" runat="server" Text="ViewUser"></asp:LinkButton>   
           </td>
       </tr>
   </table>


<div class="CenterDiv">
                <telerik:RadAutoCompleteBox ID="radAutoComplete" runat="server" OnClientRequesting="requesting" EmptyMessage="Enter Users Last Name First Name."
                   InputType="Text" TextSettings-SelectionMode="Single">
                   <WebServiceSettings path="../AutoComplete.asmx" Method="UserAccounts" />
               </telerik:RadAutoCompleteBox>
                <asp:LinkButton ID="lnkView" runat="server" Text="ViewUser"></asp:LinkButton>   
      </div>



































Kevin
Top achievements
Rank 1
 answered on 06 Sep 2013
2 answers
126 views
Thanks all in advance.

We understand how the set_cancel method works within the OnClientFileUploading event.  However, we need to confirm the behaviour when set_cancel(true) is executed.  Does it cancel all the files in a multiple file upload or just the one file?

Also, we would like to do some custom validation within the OnClientFileUploading event but need to get the file extension in order to do this.  We see how to issue args.get_fileName() but need to inspect the extension based on our own invalid extension list.  Is there a file extension method available for this?

Thanks...Bob Baldwin
Trabon Solutions
Bob
Top achievements
Rank 1
 answered on 06 Sep 2013
3 answers
737 views
Hi,
I have added a drop down column in my grid and I managed to get the values that populate it from SqlDataSource2 as following:
<telerik:GridDropDownColumn DataSourceID="SqlDataSource2" ListTextField="Tipo" ListValueField="Tipo" UniqueName="ddl1" HeaderText="A-Tipo" DataField="Tipo"  >
Now what I would like to achieve is to post the selected value, when in edit mode, to a field in a different table that is  DataSource1 "Tipo"
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Test1_managDocDBConnectionString %>" DeleteCommand="DELETE FROM [TableCasaFi] WHERE [TransazioneID] = @TransazioneID" InsertCommand="INSERT INTO [TableCasaFi] ([Tipo], [Scadenza], [InizioPeriodo], [FinePeriodo], [Note], [Pagata]) VALUES (@Tipo, @Scadenza, @InizioPeriodo, @FinePeriodo, @Note, @Pagata)" SelectCommand="SELECT * FROM [TableCasaFi]" UpdateCommand="UPDATE [TableCasaFi] SET [Tipo] = @Tipo, [Scadenza] = @Scadenza, [InizioPeriodo] = @InizioPeriodo, [FinePeriodo] = @FinePeriodo, [Note] = @Note, [Pagata] = @Pagata WHERE [TransazioneID] = @TransazioneID">
        <DeleteParameters>
            <asp:Parameter Name="TransazioneID" Type="Int32" />
        </DeleteParameters>
        <InsertParameters>
            <asp:Parameter Name="Tipo" Type="String" />
            <asp:Parameter DbType="Date" Name="Scadenza" />
            <asp:Parameter DbType="Date" Name="InizioPeriodo" />
            <asp:Parameter DbType="Date" Name="FinePeriodo" />
            <asp:Parameter Name="Note" Type="String" />
            <asp:Parameter Name="Pagata" Type="Boolean" />
        </InsertParameters>
        <UpdateParameters>
            <asp:Parameter Name="Tipo" Type="String" />
            <asp:Parameter DbType="Date" Name="Scadenza" />
            <asp:Parameter DbType="Date" Name="InizioPeriodo" />
            <asp:Parameter DbType="Date" Name="FinePeriodo" />
            <asp:Parameter Name="Note" Type="String" />
            <asp:Parameter Name="Pagata" Type="Boolean" />
            <asp:Parameter Name="TransazioneID" Type="Int32" />
        </UpdateParameters>
    </asp:SqlDataSource>
So the user can select the value from the drop down list and save it in the record.
How can I achieve that? 
Felice
Top achievements
Rank 1
 answered on 06 Sep 2013
1 answer
178 views
Hi,

I am launching a RadWindow using the following Javascript function:

function openRadWindow(url,title,width,height)
            {
                var oWindow = window.radopen(url, null);
                oWindow.set_autoSize(true);
                oWindow.set_behaviors(Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Resize);
                oWindow.set_modal(true);
                oWindow.set_centerIfModal(true);
                oWindow.set_title(title);
                oWindow.set_visibleStatusbar(false);
                oWindow.add_close(OnClientClose);
                oWindow.set_destroyOnClose(true);  // Added to see if it fixes the entire screen becoming modal upon second launching
                //oWindow.set_height(height);
                //oWindow.set_width(width);
                var popupElem = oWindow.get_popupElement(); 
                popupElem.style.zIndex = "" + 7001;
            }

In FireFox and Chrome, things work just fine.
However, in IE8 the page on top of which the window pops up is blank.
See the attached screenshots.

Any suggestions?

Thanks in advance.

Jim
Marin Bratanov
Telerik team
 answered on 06 Sep 2013
1 answer
33 views
Currently we are using Radeditor control. We have set the 4000 maxlenght for this control.If user enter 4000 character and then apply some format/alignment on the text and then again try to add the text then we will lost all the formatting or alignment that we had applied for the text. So according to me, this might be the limitation of this control because if we apply any formatting to the text,HTML text is also gets added into the normal text.

So please any one help on this. How to resolve this or Is it a default behavior of radeditor control.

Telerik version : 2012.1.411.40
Stanimir
Telerik team
 answered on 06 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?