Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
117 views

Hi everybody!

I was following this demo, to understand how to implement RadInput's properties and functionallity to GridBoundColumns TextBoxes, and I found it very interesting.

However in the demo there isn't an example about how to use ClientEvents (like OnKeyPress or OnBlur) for that scenario.

I would like to do something like this OnKeyPress with a couple columns inside a RadGrid, but nothing seems to happen. I even include an alert function inside the AlphabetOnly function, but it doesn´t show.

Is it possible to use RadIpuntManager's ClientEvents in these cases?


Thanks a lot!
Carlos Contreras
Top achievements
Rank 1
 answered on 22 Jul 2010
2 answers
210 views
Internet Explorer allows you to set / resize the height of a radwindow to be very small, even down to 0px. However, every other browser I've tested only allows the height to go down to about 100 pixels. Am I missing something obvious or does anyone know a workaround to make a radwindow's height about 50px on every browser? Thanks!
Jim
Top achievements
Rank 1
 answered on 22 Jul 2010
1 answer
149 views
I have a gridview in a radgrid and I need to export the contents to a PDF.  Everything but the nested gridview is exporting.  When viewing the page, the grid is databound (but not when exporting to pdf).  See code below:

<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage-blank.master" %>
 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
 
<script runat="server">
 
    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
        RadGrid1.ExportSettings.ExportOnlyData = False
        RadGrid1.ExportSettings.IgnorePaging = True
        RadGrid1.ExportSettings.OpenInNewWindow = False
        RadGrid1.BorderStyle = BorderStyle.None
        RadGrid1.MasterTableView.BorderStyle = BorderStyle.None
        RadGrid1.MasterTableView.DataBind()
        RadGrid1.MasterTableView.ExportToPdf()
    End Sub
</script>
 
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False"
        DataSourceID="SqlDataSource1" GridLines="None">
        <MasterTableView datakeynames="SchoolWalkID" datasourceid="SqlDataSource1">
            <Columns>
                <telerik:GridTemplateColumn UniqueName="TemplateColumn">
                    <ItemTemplate>
                    This text exports to PDF.  The grid below binds correctly when viewing the page a browser.  When exporting to PDF, the grid is not exported.
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
                            DataSourceID="SqlDataSource2" EnableModelValidation="True">
                        </asp:GridView>
                        <asp:SqlDataSource ID="SqlDataSource2" runat="server"
                            ConnectionString="<%$ ConnectionStrings:SQLcmsConnection %>"
                            SelectCommand="SELECT * FROM [Schools]"></asp:SqlDataSource>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>
    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
    <asp:SqlDataSource ID="SqlDataSource1" runat="server"
        ConnectionString="<%$ ConnectionStrings:SQLcmsConnection %>"
        SelectCommand="SELECT * FROM [Schools_Walks]"></asp:SqlDataSource>
</asp:Content>

Daniel
Telerik team
 answered on 22 Jul 2010
1 answer
174 views
Hi All,

For the visualization and selection of certain pages I use a RadGrid solution.
(The list is based on a recursive SharePoint SPSiteDataQuery on site.rootweb with Webs Scope = Recursive. )

One of the columns is made for "sorting"

This is a numeric (Editable) field in which the user can insert a number 1, 2, 3 etc.
This number is the order in which the selected information should come out of the Grid. 
See the radgrid.png for clarification

So if 5 items are selected and only two have a number, then these two have the highest "prio" and should be first in the
foreach (string gridIndex in NieuwsbrievenGrid.SelectedIndexes)
{ }

Additional info: User will only emphasize on the "important" items. The other selected items will not get a number so ordering here can just be "default"

How can I accomplish this.
I tried to use the GridSortExpression on the "itemVolgorde" column but this doesn't work..

Thank you in advance.
Veli
Telerik team
 answered on 22 Jul 2010
1 answer
200 views
Hi Team,

I have a problem with which i would like some assistance if possible.

I created a page in which the user can apply for a job vacancy. The page is a wizard like page which contains a RadMultiPage and a Loading panel as follows:

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div>
        <telerik:RadAjaxLoadingPanel runat="server" ID="LoadingPanel1" IsSticky="true" Transparency="10"
            Style="text-align: center; position:absolute; vertical-align: middle; z-index: 100; background-color: #E9EAEA; width:680px">
            <asp:Image runat="server" ID="LoadingImage1" ImageUrl="~/Images/boxLoading.gif" AlternateText="Loading..."
                Style="margin-top: 200px;" />
        </telerik:RadAjaxLoadingPanel>
        <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" LoadingPanelID="LoadingPanel1">
            <div style="float: left; width: 100%">
                <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" OnPageViewCreated="RadMultiPage1_PageViewCreated"
                    CssClass="multiPage" RenderSelectedPageOnly="true">
                </telerik:RadMultiPage>
            </div>
        </telerik:RadAjaxPanel>
    </div>
</asp:Content>

The Views for the RadMultiPage are loaded dynamically following this example http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/wizard/defaultcs.aspx. The problem is that the Loading panel doesn't get the proper HEIGHT according to each View. Some of the view contain collapsible panels other don't. I tried to set the height as percentage (say 100%) but it always uses the 100% of the initially loaded View (the first view). How can I make the loading panel to always cover the RadMultiPage careless of which view is being displayed and what is the height of the view ...

I appreciate it in advance ...

Best,

George Saadeh

Iana Tsolova
Telerik team
 answered on 22 Jul 2010
1 answer
97 views
Hi

Does RadInputManager have SetFocusOnError?? Or something equivalent so when on a long form the user knows that there is a validation error instead of the page just not doing anything?

Michael
Maria Ilieva
Telerik team
 answered on 22 Jul 2010
1 answer
89 views
in root folder I have couple of files and couple of level1 subfolders, I want to stop user being able to delete any files userthe root folder, I also want to stop user being able to delete a particular level1 subfolder called "Member". Is this possible to achieve?

thanks in advance
Petio Petkov
Telerik team
 answered on 22 Jul 2010
1 answer
172 views
Hi Guys,

I want to find the Upload instance from the RadFileExplorer instance at client side using java script.

Can someone help me out finding this?

I know how to do this at server side but not at client side.

Please let me know if something is not clear.

Thank you

Tarun
Petio Petkov
Telerik team
 answered on 22 Jul 2010
4 answers
355 views
I am in need of page break tool in editor window. I didn't find any page break tool in 2008.3.1314.35 version. this tool avilable in latest version?. This is available in telerik editor?
Graham
Top achievements
Rank 1
 answered on 22 Jul 2010
1 answer
120 views
Is it possible to hide/show item(s) on toolbar based on the content user selected?
e.g. only 1 level of subfolder can be created, if user click on any level1 subfolder the Add Folder button will be hidden, if user click on a file in the root folder the delete button will be hidden

thanks in advance

Petio Petkov
Telerik team
 answered on 22 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?