Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
304 views
When I try to upload a file that is open in Excel, the upload fails.  I added a handler for OnFileUploadFailed that will display the error message - "IO.IO_SharingViolation_File". However, after the user closes that alert box, then there is an unhandled exception thrown by the control.  On my dev machine, I get the boxes asking if I want to use Visual Studio to debug the script error.  On another users machine, what they see is the file to be uploaded with the red light and the X Clear button.  When they click Clear, the file disappears but the text box and Browse button do not reappear, they are still invisible.  I assume this is because of the unhandled exception.

I found one other post here that was a similar problem, but the only response was that it was a known issue with Silverlight and to add "Telerik.Web.UI.RadAsyncUpload.Modules.Silverlight.isAvailable = function () { return false; }" to the page.  However, I notice that doing that makes the control ignore its AllowedFileExtensions property, so that there is no filter for file types when browsing for a file to upload.  However, it will upload a file open in another app.  But it is not acceptable to not have that type filter.  I tried setting it in the page_load event in code behind but no success.

I am not very good at javascript; is there a way to catch this exception thrown by the control so that I can handle it gracefully or at least get the browser to ignore it?  Or is there another way to fix or work around this?
Bozhidar
Telerik team
 answered on 12 Jun 2012
2 answers
123 views
How can I expand all nodes of a treeview on a button click from clientside. If any one is expanded do nothing.
Shinu
Top achievements
Rank 2
 answered on 12 Jun 2012
1 answer
283 views
Is there a way to make RadDatePicker pass the accessiblity. I test the page
http://demos.telerik.com/aspnet-ajax/calendar/examples/datetimepicker/overview/defaultvb.aspx 
with wave and it gave me error for the raddatepicker accessibility. Error was the there is no associated label control with a text input.
Vasil
Telerik team
 answered on 12 Jun 2012
0 answers
83 views
hi guys,
i customized  radgrid as RadGridCustomize in my project, i set the AllowScroll property to false because i want my content Place Holder to get Scroll not RadGrid , then i add it in a Div element , here is my problem : when master table view get width my RadGrid Dont, and it look very bad, I attached an image of my page...
Reza
Top achievements
Rank 1
 asked on 12 Jun 2012
1 answer
236 views
Hi

I have a number of rad windows in the page which pull a page from a related external site with video
content. Instead of a blank window waiting for the external page, I would prefer a text message or a default
loading panel as for radAjaxPanel for example, but I can't see how to make this work.

I have seen reference in posts to a default loading panel but see no property of the window that relates to that.

Help would be appreciated!   (Using Q2 2010 and asp.net 4.0 on this site)

Thanks

Clive

My current window is 
<telerik:RadWindow ID="RadWindowVid" runat="server" OpenerElementID="div495" Width="560px"
        Animation="Fade" Behaviors="Close" VisibleStatusbar="False" Title="Bessacarr Cameo 495"
        Skin="WebBlue" OnClientClose="OnClientClose">
</telerik:RadWindow>

Princy
Top achievements
Rank 2
 answered on 12 Jun 2012
1 answer
116 views
Hello,
For some reasons I have to build my gridview programmatically. 
One of the column is build like this: 

  Dim myColumn As GridBoundColumn
        myColumn  = New GridBoundColumn
        myColumn .DataField = "myValue"
        myColumn.HeaderText = "Value"
        myColumn.UniqueName = "myValue"

The gridview is editable. When I click on the edit button (and an input text appears) I want to get the input id with javascript. 
How can I do that? 
Thanks in advance
Shinu
Top achievements
Rank 2
 answered on 12 Jun 2012
1 answer
87 views
I have a problem.
I need to create a dynamic image button and assign the event "click"  on a node of a "treeview", the problem is that when you click the image button disappears and never calls the event "lkbEliminar_Click".
    ImageButton lkbEliminar = new ImageButton();
      lkbEliminar.ImageUrl = "~/images/delete.png";
       lkbEliminar.ToolTip = "Eliminar Documento";
        lkbEliminar.Click += new System.Web.UI.ImageClickEventHandler(lkbEliminar_Click);  
      nodoHijoMenor.Controls.Add(lkbEliminar);
         nodoHijoMayor.Nodes.Add(nodoHijoMenor);
 
  protected void lkbEliminar_Click(object sender, ImageClickEventArgs e)
        {
            string x = "asdas";
            x = x + "asdsa";
 
           }

Princy
Top achievements
Rank 2
 answered on 12 Jun 2012
1 answer
334 views
How Can I Add Percanteage Text Box With **Decimal** And **Percentage Sign** Using Telerik RadControls?  
mean Telerik MaskedTextBox or Telerik NumericTextBox?  
which one and how?  
i wrote the aspx codes below :  

<telerik:RadNumericTextBox ID="RadNumerictxtPercent_Taliya" runat="server"
    Type="Percent" Width="60px" EnableEmbeddedSkins="False" Skin="BlackByMe" ValidationGroup="C"
    MaxValue="20" MinValue="0">
    <NumberFormat DecimalDigits="2" ZeroPattern="n %" />
</telerik:RadNumericTextBox>

but i can not increase and decrease percentage (decimal area) using keyborad!  
also it seems there is a problem about percentage sign in that aspx code!  
how can i fix them?  

thanks in advance
Princy
Top achievements
Rank 2
 answered on 12 Jun 2012
1 answer
128 views
Dear all,

The InPlace edit mode brings me to an empty grid with the text "No records to display.". (Both the double click as the GridEditCommandColumn button.
See below my aspx code on the RadGrid, what am I missing?

Any advice would be welcome.

Thanks in advance,
Zeo

<telerik:RadGrid ID="RadGrid1" runat="server"
     DataSourceID="SqlDataSource1" CellSpacing="0" GridLines="None"
            onneeddatasource="RadGrid1_NeedDataSource" >
 
<MasterTableView HierarchyDefaultExpanded="True"
            DataSourceID="SqlDataSource1" ShowGroupFooter="True" AutoGenerateColumns="False" EditMode="InPlace">
 
    <Columns>
        <telerik:GridBoundColumn DataField="Week" DataType="System.Int32"
            HeaderText="Week" ReadOnly="True" SortExpression="Week"
            UniqueName="Week">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Client"
            HeaderText="Client"
            SortExpression="Client" UniqueName="Client" ReadOnly="True">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Planning" DataType="System.Double"
            HeaderText="Geplande uren"
            SortExpression="Planning" UniqueName="Planning" ReadOnly="True">
        </telerik:GridBoundColumn>
        <telerik:GridNumericColumn DecimalDigits="2"
            FilterControlAltText="Filter Uren column" DataField="Planning" DataType="System.Double" UniqueName="Uren" HeaderText="Gewerkte Uren">
        </telerik:GridNumericColumn>
        <telerik:GridDropDownColumn
            UniqueName="RedenAfw" HeaderText="Afwezig">
        </telerik:GridDropDownColumn>
        <telerik:GridEditCommandColumn ButtonType="ImageButton" HeaderText="Wijzigen"
             UniqueName="Bijwerken" EditImageUrl="Images/Edit.png">
            <HeaderStyle Width="45px" />
        </telerik:GridEditCommandColumn>
        <telerik:GridButtonColumn ButtonType="ImageButton"
            HeaderText="Bevestig"
            ImageUrl="Images/rooster-aanwezig.png" UniqueName="Bevestig">
            <HeaderStyle Width="45px" />
        </telerik:GridButtonColumn>
    </Columns>
 
    <GroupByExpressions>
        <telerik:GridGroupByExpression>
            <GroupByFields>
                <telerik:GridGroupByField FieldAlias="Week" FieldName="Week" FormatString=""
                    HeaderText="Week" />
            </GroupByFields>
        </telerik:GridGroupByExpression>
    </GroupByExpressions>
 
</MasterTableView>
</telerik:RadGrid>


Shinu
Top achievements
Rank 2
 answered on 12 Jun 2012
1 answer
120 views
Hi,

I have a radgrid with Editmode as Popup. On click of edit button, the popup is displaying at the top of the grid.
My question is:

How can I position the popup above or below the row which is marked for edit?

Your answers with code snippet would be appreciated

Thank.
Shinu
Top achievements
Rank 2
 answered on 12 Jun 2012
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?