Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
84 views
We have used telerik rad window. It is working fine in Mozila, Crome, IE8 but in IE7 and IE9 it has a problem. The buttons used at the end of the window goes down side and out of the window as in the given screen shot. If we want to click the button then we have to scroll down the whole page, come to the button. On mouse over the button moves to upward dirrection or to the position where it should be. Then we are able to click it. The window has width="760" and  height="550".
Slav
Telerik team
 answered on 23 Aug 2011
0 answers
164 views

In order to get familiar in a fast and pretty straight-forward manner with RadDock for ASP.NET AJAX, I suggest you visit the online resources linked below:

Online examples

Online documentation

Step-by-step tutorial

Code library

Knowledge base

Blogs

Videos

 Of course, you can browse the public forum as well in order to find a specific information/code sample concerning an aspect of the RadDock object model/ features. There are numerous threads which can get you started/assist you through the development process.

 If you think you have an interesting project implementation with the RadDock that would benefit the community, we will gladly reward you for posting it in the Code library of RadDock. So feel free to share your projects for others to learn more about all the amazing things RadDock can do.

 Finally, we will appreciate your feedback on the structure/content of the online resources - our goal is to continue enriching them, thus facilitating our customers even more.

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 23 Aug 2011
1 answer
94 views
Hi telerik team, i have one table which has quantity and Date. i need to assign date column to ChartSeries.DataXColumn, when i am trying to assign this column i'm getting "Date is not numeric" exception. Is it a limitation or how can i assign this data to RadChart.
Evgenia
Telerik team
 answered on 23 Aug 2011
7 answers
181 views
hi,

I was following this example here: http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/exporting/defaultvb.aspx
the only difference is that I am binding data source from code behind in page_load method, means instead of:
 <telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource1" .......
I am using binding in page_load like this:
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
        dsClients = clsDB.getData(strSQL)
        RadGrid1.DataSource = dsClients
        RadGrid1.DataBind()
        End If
    End Sub





please note that I am using master page and aspx page, in master page I put rad script manager like this:
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" AsyncPostBackTimeout="10000" />

and in aspx page I put the ajax panel and rad grid like this:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <ClientEvents OnRequestStart="onRequestStart" />
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

                                    <telerik:RadGrid ID="RadGrid1" AllowSorting="True"
        AllowPaging="True" PageSize="5" runat="server" GridLines="None" Width="95%"
        OnItemCommand="RadGrid1_ItemCommand">
        <ExportSettings HideStructureColumns="true" />
                <MasterTableView Width="100%" CommandItemDisplay="Top">
            <PagerStyle Mode="NextPrevNumericAndAdvanced" />
            <CommandItemSettings ShowExportToWordButton="true" ShowExportToExcelButton="true"
                ShowExportToCsvButton="true" />
        </MasterTableView>
        </telerik:RadGrid>


so when I click any button in the grid its disappeared!

any help?
Jayesh Goyani
Top achievements
Rank 2
 answered on 23 Aug 2011
0 answers
185 views

In order to get familiar in a fast and pretty straight-forward manner with RadFileExplorer for ASP.NET AJAX, I suggest you visit the online resources linked below:

Online examples

Online documentation

Step-by-step tutorial

Code library

Knowledge base

Blogs

Videos

 Of course, you can browse the public forum as well in order to find a specific information/code sample concerning an aspect of the RadFileExplorer object model/ features. There are numerous threads which can get you started/assist you through the development process.

 If you think you have an interesting project implementation with the RadFileExplorer that would benefit the community, we will gladly reward you for posting it in the Code library of RadFileExplorer . So feel free to share your projects for others to learn more about all the amazing things RadFileExplorer can do.

 Finally, we will appreciate your feedback on the structure/content of the online resources - our goal is to continue enriching them, thus facilitating our customers even more.

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 23 Aug 2011
0 answers
129 views

In order to get familiar in a fast and pretty straight-forward manner with RadRotator for ASP.NET AJAX, I suggest you visit the online resources linked below:

Online examples

Online documentation

Step-by-step tutorial

Code library

Knowledge base

Blogs

Videos

 Of course, you can browse the public forum as well in order to find a specific information/code sample concerning an aspect of the RadRotator object model/ features. There are numerous threads which can get you started/assist you through the development process.

 If you think you have an interesting project implementation with the RadRotator that would benefit the community, we will gladly reward you for posting it in the Code library of RadRotator. So feel free to share your projects for others to learn more about all the amazing things RadRotator can do.

 Finally, we will appreciate your feedback on the structure/content of the online resources - our goal is to continue enriching them, thus facilitating our customers even more.

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 23 Aug 2011
0 answers
121 views

In order to get familiar in a fast and pretty straight-forward manner with RadSplitter for ASP.NET AJAX, I suggest you visit the online resources linked below:

Online examples

Online documentation

Step-by-step tutorial

Code library

Knowledge base

Blogs

Videos

 Of course, you can browse the public forum as well in order to find a specific information/code sample concerning an aspect of the RadSplitter object model/ features. There are numerous threads which can get you started/assist you through the development process.

 If you think you have an interesting project implementation with the RadSplitter that would benefit the community, we will gladly reward you for posting it in the Code library of RadSplitter. So feel free to share your projects for others to learn more about all the amazing things RadSplitter can do.

 Finally, we will appreciate your feedback on the structure/content of the online resources - our goal is to continue enriching them, thus facilitating our customers even more.

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 23 Aug 2011
0 answers
143 views

In order to get familiar in a fast and pretty straight-forward manner with RadToolTip for ASP.NET AJAX, I suggest you visit the online resources linked below:

Online examples

Online documentation

Step-by-step tutorial

Code library

Knowledge base

Blogs

Videos

 Of course, you can browse the public forum as well in order to find a specific information/code sample concerning an aspect of the RadToolTip object model/ features. There are numerous threads which can get you started/assist you through the development process.

 If you think you have an interesting project implementation with the RadToolTip that would benefit the community, we will gladly reward you for posting it in the Code library of RadToolTip. So feel free to share your projects for others to learn more about all the amazing things RadToolTip can do.

 Finally, we will appreciate your feedback on the structure/content of the online resources - our goal is to continue enriching them, thus facilitating our customers even more.

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 23 Aug 2011
0 answers
215 views

In order to get familiar in a fast and pretty straight-forward manner with RadWindow for ASP.NET AJAX, I suggest you visit the online resources linked below:

Online examples

Online documentation

Step-by-step tutorial

Code library

Knowledge base

Blogs

Videos

 Of course, you can browse the public forum as well in order to find a specific information/code sample concerning an aspect of the RadWindow object model/ features. There are numerous threads which can get you started/assist you through the development process.

 If you think you have an interesting project implementation with the RadWindow that would benefit the community, we will gladly reward you for posting it in the Code library of RadWindow. So feel free to share your projects for others to learn more about all the amazing things RadWindow can do.

 Finally, we will appreciate your feedback on the structure/content of the online resources - our goal is to continue enriching them, thus facilitating our customers even more.

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 23 Aug 2011
2 answers
222 views
Hello!

I need help figuring out how to pass the primary key value to the btnSave inside an EditForm. What I'd like to do is to get the primary key as a CommandArgument so I do some logic with it, but what I get is an error that the input string was not in a correct format with a following line in codebehind as a problem:

int value = Convert.ToInt32(e.CommandArgument);


Here is the codefront:

<telerik:RadGrid ID="gvKontakti" runat="server" AllowPaging="True" AllowSorting="True"
    CellSpacing="0" GridLines="None" DataKeyNames="idKontakt" AutoGenerateColumns="false"
    OnDeleteCommand="gvKontakti_DeleteCommand" OnEditCommand="gvKontakti_EditCommand"
    OnInsertCommand="gvKontakti_InsertCommand">
    <MasterTableView CommandItemDisplay="TopAndBottom">
        <Columns>
            <telerik:GridEditCommandColumn UniqueName="EditCommandColumn">
            </telerik:GridEditCommandColumn>
            <telerik:GridBoundColumn UniqueName="Naziv" HeaderText="Naziv" DataField="Naziv">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Funkcija" HeaderText="Funkcija" DataField="Funkcija">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Tel1" HeaderText="Telefon 1" DataField="Tel1">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Tel2" HeaderText="Telefon 2" DataField="Tel2">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Mob1" HeaderText="Mobitel 1" DataField="Mob1">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Mob2" HeaderText="Mobitel 2" DataField="Mob2">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Email1" HeaderText="E-mail 1" DataField="E-mail1">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Email2" HeaderText="E-mail 2" DataField="E-mail2">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Fax" HeaderText="Fax" DataField="Fax">
            </telerik:GridBoundColumn>
        </Columns>
        <EditFormSettings EditFormType="Template">
            <EditColumn UniqueName="EditColumn">
            </EditColumn>
            <FormTemplate>
                <table>
                    <tr>
                        <td>
                            Ime:
                        </td>
                        <td>
                            <asp:TextBox ID="txtIme" runat="server" Text='<%# Bind("Ime") %>'></asp:TextBox>
                        </td>
                        <td>
                            Prezime:
                        </td>
                        <td>
                            <asp:TextBox ID="txtPrezime" runat="server" Text='<%# Bind("Prezime") %>'></asp:TextBox>
                        </td>
                    </tr>
                </table>
                <asp:Button ID="btnSave" CommandName="Save" Text="Spremi" runat="server" />
                <asp:Button ID="btnDelete" CommandName="Delete" Text="Delete" runat="server" />
            </FormTemplate>
        </EditFormSettings>
    </MasterTableView>
protected void gvKontakti_EditCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
        {
            int idKontakt = 0;
            int value = Convert.ToInt32(e.CommandArgument);
 
            if (e.CommandName == "Spremi")
            {
                TSEntities db = new TSEntities();
                Kontakt kontakt = new Kontakt();
 
                if (idKontakt > 0)
                {
                    kontakt = db.Kontakts.SingleOrDefault(k => k.idKontakt == idKontakt);
 
                    TextBox txtIme = (TextBox)gvKontakti.FindControl("txtIme");
                    TextBox txtPrezime = (TextBox)gvKontakti.FindControl("txtPrezime");
                    TextBox txtFunkcija = (TextBox)gvKontakti.FindControl("txtFunkcija");
                    TextBox txtTel1 = (TextBox)gvKontakti.FindControl("txtTel1");
                    TextBox txtTel2 = (TextBox)gvKontakti.FindControl("txtTel2");
                    TextBox txtMob1 = (TextBox)gvKontakti.FindControl("txtMob1");
                    TextBox txtMob2 = (TextBox)gvKontakti.FindControl("txtMob2");
                    TextBox txtFax = (TextBox)gvKontakti.FindControl("txtFax");
                    TextBox txtEmail1 = (TextBox)gvKontakti.FindControl("txtEmail1");
                    TextBox txtEmail2 = (TextBox)gvKontakti.FindControl("txtEmail2");
                    TextBox txtAdresa1 = (TextBox)gvKontakti.FindControl("txtAdresa1");
                    TextBox txtAdresa2 = (TextBox)gvKontakti.FindControl("txtAdresa2");
                    TextBox txtAdresa3 = (TextBox)gvKontakti.FindControl("txtAdresa3");
                    TextBox txtGrad = (TextBox)gvKontakti.FindControl("txtGrad");
                    TextBox txtPBR = (TextBox)gvKontakti.FindControl("txtPBR");
                    TextBox txtDrzava = (TextBox)gvKontakti.FindControl("txtDrzava");
                    TextBox txtBiljeske = (TextBox)gvKontakti.FindControl("txtBiljeske");
                    CheckBox chkAktivan = (CheckBox)gvKontakti.FindControl("chkAktivan");
 
                    kontakt.Ime = txtIme.Text;
                    kontakt.Prezime = txtPrezime.Text;
                }
                else
                {
 
                }
                db.SaveChanges();
            
            }
        }


Any help would be appreciated.
Jayesh Goyani
Top achievements
Rank 2
 answered on 23 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?