Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
188 views
Hi,

     I am using Silverlight Red Upload for multifile uploading in my asp.net web site. And i wants if a user will uploade any file in control the page will busy and user will not able to click any control at same time, Is there any possiblity plese let me know.

I am using the control a following...

<

 

object id="SilverlightUpload" data="data:application/x-silverlight," type="application/x-silverlight-2"

 

 

width="100%" height="120px">

 

 

<param name="source" value='<%= ResolveUrl("~/Upload.xap") %>' />

 

 

<param name="background" value="white" />

 

 

<param name="minRuntimeVersion" value="2.0.31005.0" />

 

 

<param name="autoUpgrade" value="true" />

 

 

<param name="windowless" value="true" />

 

 

<param name="InitParams" value='<%= InitParameters %>' />

 

 

<a href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;">

 

 

<img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight"

 

 

style="border-style: none" />

 

 

</a>

 

 

 

 <telerik1:RadUpload ID="RadUpload1" runat="server">

 

</telerik1:RadUpload>

 

 

 

</object>



Thanks,


 

Genady Sergeev
Telerik team
 answered on 09 Jul 2010
1 answer
61 views
Hi,
I need to open my form insted of  Scheduler add/edit Appointment form so how can i get event? OR which event is reized so i can trap.


thanks
Jagdish Prajapati
Shinu
Top achievements
Rank 2
 answered on 09 Jul 2010
4 answers
300 views
Hi All,

I know that RadTicker can get data from XMLDataSource. But now I need to get data from database. Is RadTicker able to do this? In my case, I put RadTicker in RadRotator.   I got items for RadRotator dynamically from database, programming in the server side. So now how can RadTicker get items from database ?

Thank you !


Fiko
Telerik team
 answered on 09 Jul 2010
1 answer
122 views
Hi All,

i have used RadMenu for open the Popup(Radpoup). i am using OnClientItemClicked event to open the RadWindow. This is working fine. Now i have added one Button called "Export to Excel" for exporting the data in Excel. This also woking fine. My issue is After the export, f i clicked the radmenu, the radwindow not working. but the event OnClientItemClicked fired correctly.

<asp:UpdatePanel ID="testPanel" runat="server">  
<contenttemplate> 
 
<radM:RadMenu ID="mnuImport" Width="90%" runat="server" Skin="Default2006" OnClientItemClicked="ImportPopup" CausesValidation="false">  
 <DefaultGroupSettings Height="160" Width="70" />                                                                              <Items> 
    <radM:RadMenuItem Text="Red" Value="Red">  
        <Items> 
            <radM:RadMenuItem Text="Red" Value="Red"></radM:RadMenuItem> 
            <radM:RadMenuItem Text="Blue" Value="Blue"></radM:RadMenuItem> 
            <radM:RadMenuItem Text="Yellow" Value="Yellow"></radM:RadMenuItem> 
            <radM:RadMenuItem Text="Orange" Value="Orange"></radM:RadMenuItem> 
        </Items> 
    </radM:RadMenuItem>                                                                     
   </Items> 
</radM:RadMenu> 
 
 
<asp:Button ID="btnExport" runat="server" Text="Export to Excel" CssClass="searchbutton" CausesValidation="false"/>    
 
</contenttemplate> 
<triggers> 
    <asp:PostBackTrigger ControlID="btnExport" /> <!-- if i comment this line, the Popup is working fine. but the export is not working -->    
</triggers> 
</asp:UpdatePanel> 
 
<div> 
  <radwindow:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Vista" Behavior="Close, Move" 
      Height="300px" Width="500px" Modal="true">  
      <Windows> 
           <radwindow:RadWindow ID="radImport" runat="server" Title="Import" ReloadOnShow="true"   
                  Height="300px" Width="500px"  VisibleTitlebar="true" Skin="Vista"/>                                               
           </Windows> 
  </radwindow:RadWindowManager> 
</div> 
 
 
 
function ImportPopup(sender, eventArgs)  
{  
          
        var selectedImportType = eventArgs.Item.Value;          
        window.radopen("../DocMgt/ImportPopup.aspx?ImportType=" + selectedImportType, 'radImport');  
        return false;  
} 

this is working fine if we never click export button. once we clicked the export button the events are fired correctly, but the rad window is not opened.

Let me know if any solutions.

Thanks in Advance

Anand
Fiko
Telerik team
 answered on 09 Jul 2010
4 answers
74 views
Hi,
i want to display appointments as saparate as per time slot.
that means if my resource have 2- appointment for 8:00 am to 9:00 am and 9:00 am to 10:00 am in this case i want to display two saparate appointment. how it can be done ?

thanks in advance,
Jagdish Prajapati
Jagdish
Top achievements
Rank 1
 answered on 09 Jul 2010
3 answers
481 views
Hi all

I have a combobox as follows:


<telerik:RadComboBox ID="cmbobox" runat="server" AutoPostBack="true" EnableLoadOnDemand="true"></telerik:RadComboBox> 


Also I have the vb code:


Protected Sub cmbobox_ItemsRequested(ByVal o As Object, ByVal e As Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs) Handles cmbobox.ItemsRequested 
  
        Dim objDataBaseClass As New DataBaseClass() 
        Dim dtDatabase As DataTable = objDataBaseClass.GetSomedataById(e.Text) 
  
        If dtDatabase Is Nothing Then 'or any other condition that checks for errors 
        'Here I need to go to error page: 
        'Response.Redirect("~/ErrorPage.aspx") 
        'Server.Transfer("~/ErrorPage.aspx") 
        End If 
  
        cmbobox.Items.Add(New RadComboBoxItem("", "")) 
        For i As Integer = 0 To dtDatabase .Rows.Count - 1 
            cmbobox.Items.Add(New RadComboBoxItem(dtDatabase .Rows(i)("ID").ToString() & " - " & dtDatabase .Rows(i)("NAME").ToString(), dtDatabase.Rows(i)("ID").ToString())) 
        Next 
    End Sub 



The problem is on lines (8 & 9), I am trying to go to another page to display some information about the error, but an exception thrown:

Server.Transfer cannot be called in a page callback

or

Response.Redirect cannot be called in a Page callback

I tired to register some client script like window.location but it does not work.

Please can you give me some help???




Simon
Telerik team
 answered on 09 Jul 2010
1 answer
105 views
Hello,

I'd like to change the background color (to Black and alpha tranparence) of the div behind the tooltip (now is ligh grey and alpha tranparence by default) when it is in modal=true.

Please help me.

thank you
Alessandro
Mantra Multimedia

Shinu
Top achievements
Rank 2
 answered on 09 Jul 2010
1 answer
96 views
Hi Guys,
Can any body help solve this issue!!!

ASP.NET runtime error: The base class includes the field 'LoadingPanel1', but its type (Telerik.Web.UI.RadAjaxLoadingPanel) is not
compatible with the type of control (Telerik.Web.UI.RadAjaxLoadingPanel).

I dont know what it is!!!!
Sucheta Patil
Top achievements
Rank 1
 answered on 09 Jul 2010
13 answers
940 views
RadTextBox count Enter as one char, but really, Enter is two chars, so I get exception when inserting to database. Is it possible to count Enter as two chars?
Dimo
Telerik team
 answered on 09 Jul 2010
1 answer
1.5K+ views
My company utilizes some custom library routines for validation on input controls.  To use these, I have to know the control's id.  I was able to work with the id naming conventions for some column types because they will use the UniqueName as a portion of the id (such as GridDropDownColumn / RadComboBox and GridNumericColumn / RadNumericTextBox), but the GridBoundColumn does not use the UniqueName property to render the textbox id.

Is there a way to force it to use the UniqueName property? Or is there another column type to use for plain text input that will respect setting this property?

Example code:
<telerik:GridBoundColumn DataField="LineNotes" DataType="System.String" 
HeaderText="Notes" SortExpression="LineNotes" UniqueName="LineNotes">  
</telerik:GridBoundColumn> 
 
renders as  
 
<input name="RadGrid1$ctl00$ctl02$ctl03$ctl00" type="text"/> 


Thanks for any help or ideas you can provide.
Veli
Telerik team
 answered on 09 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?