Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
67 views
In the following code, RadAsyncUpload is not working in mozilla version 3.0.19

<
asp:UpdatePanel ID="UpdatePanel3" runat ="server"  UpdateMode ="Conditional" >
<ContentTemplate >
 
    <telerik:RadPanelBar ID="RadPanelBar1" runat="server"
        ExpandMode ="MultipleExpandedItems" Width ="900px"
        Skin="Metro"  Font-Names ="Arial" Font-Size ="12px"  >
 
      <Items >
                 <telerik:RadPanelItem  Expanded ="False" Text="CALL INFORMATION" Font-Size ="Small"  Font-Names="Arial">
                 <ContentTemplate >
 
                  <asp:UpdatePanel ID="UpdatePanel5" runat ="server"  EnableViewState ="true"  UpdateMode ="Conditional" >
                        <ContentTemplate >
 
                        <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server"  Font-Names ="Arial" Font-Size ="12px"  PostbackTriggers ="btnSave,btnSaveCallInfo" MultipleFileSelection ="Automatic" Width ="300px" AllowedFileExtensions =".jpg,.png,.jpeg,.gif,.bmp,.doc,.docx,.xls,.xlsx,.txt,.pdf" Localization-Select="Browse">
                        </telerik:RadAsyncUpload>
 
                        </ContentTemplate>
                  </asp:UpdatePanel>
 
                 </ContentTemplate>
                 </telerik:RadPanelItem>
     </Items>
  </telerik:RadPanelBar>
 
</ContentTemplate>
</asp:UpdatePanel>
Helen
Telerik team
 answered on 10 Sep 2013
2 answers
45 views
Hi,

I have Splitter with two vertical panes. I have TreeView in left pane and I want to display .aspx page from same application in right pane on Node click.
Page in right pane displays fine in all the browsers, except IE8. In IE8 right pane is blank. Here is my code:
<script type="text/javascript">
    function ClientNodeClick(sender, eventArgs)
        {
             var contentPane = $find("<%=contentPane.ClientID %>");
             var url ="text.aspx"
             contentPane.set_contentUrl(url);
         }
</script>
Page that I want to display in right pane contains RadGrid and some asp.net controls like textboxes, rado buttons etc.
Please help.
Rob
Top achievements
Rank 1
 answered on 10 Sep 2013
2 answers
74 views
Hi

I have an ASP.NET page containing a RADGrid with an EditFormTemplate. In the UpdateCommand of the grid I do some validation stuff and I would like to assign a CssClass to all the fields of the EditFormTemplate containing invalid values.

The validation is working properly. However, I can't manage to assign the CssClass to the controls. My UpdateCommand reads as follows:
Protected Sub CompanyGrid_UpdateCommand(sender As Object, e As GridCommandEventArgs) Handles CompanyGrid.UpdateCommand
  Dim objEditedItem As GridEditableItem = CType(e.Item, GridEditableItem)
  Dim objTextBox As RadTextBox
 
  objTextBox = CType(objEditedItem.FindControl("txtCompanyname"), RadTextBox)
  If objTextBox.Text.Trim() = "" Then
    objTextBox.CssClass = "MandatoryField"
    e.Canceled = True
    Exit Sub
  End If
 
End Sub

The CSS file contains the following definition for the class MandatoryField:
.MandatoryField
{
    margin-left: 0em;
    border:1px solid #397D47;
    background-color:#F77A80;
    font-size: 1.0em;
}

After exiting the UpdateCommand function, the page is reloaded but the CssClass is not set to the fields in question. How can I achieve a visual marking of the fields with invalid values?

Kind regards

Jürg
Jürg
Top achievements
Rank 1
 answered on 10 Sep 2013
1 answer
106 views
Hi.
Im trying to open a radwindow on the OnRowDbClick event,but the window is not appearing.
Any idea, why it doesn't show.

Thanks,
Dawson
Princy
Top achievements
Rank 2
 answered on 10 Sep 2013
2 answers
47 views
Hi, i've read through a lot of the problems about height, tried a lot of things but nothing gets me the right result.

I've been trying to make a page run correctly on ie6 & ie7 and i'm stuck at this one.

http://urbanism.pmb.ro/

the splitter decides to go to 400px. It is in a div that instead of height needs to have top and bottom (to fit the menu and the info bar). And for some reason it decides to override my 100% and just go to 400px. anything i try gets me a weird result.

suggestions?
Kineas
Top achievements
Rank 1
 answered on 10 Sep 2013
2 answers
78 views
I have been using the following example as my guide in trying to utilize the TabStrip in a wizard type application.
http://demos.telerik.com/aspnet-ajax/tabstrip/examples/application-scenarios/wizard/defaultvb.aspx

Each tab will load a user control and allow the user to submit the information.  When the user clicks the next button it will load the data into our database and continue to step them through.  If they however leave the application the next time they log in they can pick up where they left off.  The problem is the Page_Load event with the 2nd tab and others down the line.  It will not get to the point where it loads the data.
Should I be trying to call the GetData from the button control from the first tab? 

Code below is used on each of my user control page.  How might I fix this?
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    If Not IsPostBack Then
        GetData()
    End If
End Sub
Kurt Kluth
Top achievements
Rank 1
 answered on 10 Sep 2013
1 answer
136 views
Hi,

I'm having some issue with export selected columns and I hope you can help me with it.

On my page I have a RadGrid_Parent that uses an sqldatasource with autogeneratecolumns='false'
inside the RadGrid_Parent I'm making use of the NestedViewTemplate to expand or collapse the selected row.

When the RadGrid_Parent expands it opens another RadGrid_Child AutoGeneratedColumns='true' EnableHeaderContextMenu='true' that uses needdatasource advanced databinding.

The problem I'm having is when i try to export the nestedview RadGrid_Child that uses the advanced data binding it exports all the columns it ignores any column I hide using the EnableHeaderContextMenu

I also tried to make the columns display and visible false in the ItemCommand section but it still picks up columns as display all.

Example of the ItemCommand code as mentioned in sentence above.
 
if (e.CommandName == Telerik.Web.UI.RadGrid.ExportToExcelCommandName ||
            e.CommandName == Telerik.Web.UI.RadGrid.ExportToWordCommandName ||
            e.CommandName == Telerik.Web.UI.RadGrid.ExportToCsvCommandName ||
            e.CommandName == Telerik.Web.UI.RadGrid.ExportToPdfCommandName)
        {
            foreach (GridColumn col in RadGridChild.MasterTableView.AutoGeneratedColumns)
            {
                if (!col.Display)
                {
                   col.Display = false;
                    col.Visible = false;
                }
            }
          }

Any help would be greatly appreciated.

Kind Regards
Princy
Top achievements
Rank 2
 answered on 10 Sep 2013
7 answers
172 views
I have a custom process I'm using the RadProgressArea for.  I'd like to customize the text shown on the RadProgressArea so it doesn't say anything about files or file upload similar to the demo page (http://demos.telerik.com/aspnet-ajax/progressarea/examples/customprogress/defaultcs.aspx).  I'm following the steps on this page, http://www.telerik.com/help/aspnet-ajax/progressarea-customprogress.html, but the message under the progress bar says "Uploaded files" and the message that is set using CurrentOperationText has "Uploading file" before the message.  How can I get rid of "Uploading file:" in the CurrentOperationText message?  See attached for what I'm seeing.


Plamen
Telerik team
 answered on 10 Sep 2013
3 answers
100 views

I developed a resource booking system expanding on the Telerik Customized Edit Form Example.     I have released this on Codeplex for anyone to have a look at and improve.  It includes a reporting project.  I'm new to the whole complex thing so I hope that is setup ok.  Its in Vb.net but there is not really a lot of code.

https://resourcebooking.codeplex.com/
Plamen
Telerik team
 answered on 10 Sep 2013
1 answer
108 views
Hi..
I am using GridClientSelectColumn, but the checkbox values doesn't persist when paging..
Please can you show how to make the checkbox to be in checked state after paging. I want to access the rows in a button click..

Thanks,
Erin
Princy
Top achievements
Rank 2
 answered on 10 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?