Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
109 views
HI All

I have an User Control which as Rad Text Box ,a Button,Rad Text Box...I have arraged respectively.First Text Box is the Code field and button is used to show all the Code in the Database ..Third button is used to show the description of the Code .

Scenario ...When the User Enters the Code and tabs out then the Server side method should be called and it should validate is that the Code is correct if the code is correct then the Description should be populated ..If the Code is Wrong then Message should be populate dto the User

Problem Area : Without the UserControl i am able to call the Server side Event ...But when we write the same code in the Control it is not able to recognise the Current page and it not calling the server Side function


...I need to write the server side function in the Control......I have used Rad Proxy Manager but i am not able to Do ...


Can you please help me out on this
Chethan Rajashekaraih
Top achievements
Rank 1
 answered on 15 Sep 2009
2 answers
138 views
Hi,
 I have a problem in export to excel, while exporting the grid it exports only 3 columns out of 6 columns,the 3 columns which are all exporting is binded with datafield, and other 6 columns are binded with Eval.Bind.
I have attached my code also.
     <telerik:RadGrid ClientSettings-Resizing-AllowColumnResize="true" ClientSettings-Resizing-EnableRealTimeResize="true" 
                    AllowMultiRowSelection="false" ID="GrdProjectAudit" Width="100%" runat="server" 
                    OnItemCreated="GrdProjectAudit_ItemCreated" AllowPaging="True" AllowSorting="True" 
                    PageSize="8" AutoGenerateColumns="false" AlternatingItemStyle-Width="10%" GridLines="Vertical" 
                    Skin="ePASVista" EnableEmbeddedSkins="false" ItemStyle-Wrap="false" HeaderStyle-Wrap="true" 
                    OnNeedDataSource="GrdProjectAudit_NeedSource">  
                    <PagerStyle Mode="NumericPages" /> 
                    <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">  
                        <Resizing AllowColumnResize="true" ClipCellContentOnResize="true" EnableRealTimeResize="true" 
                            ResizeGridOnColumnResize="true" /> 
                        <Selecting AllowRowSelect="True" /> 
                    </ClientSettings> 
                    <ExportSettings IgnorePaging="true" FileName="Project_History" Excel-Format="ExcelML" 
                        OpenInNewWindow="true" ExportOnlyData="true">  
                    </ExportSettings> 
                    <MasterTableView GroupLoadMode="Client" CommandItemDisplay="Top" TableLayout="Fixed" 
                        Width="100%">  
                        <NoRecordsTemplate> 
                            <asp:Label ID="lblNRF" runat="server" Text="No Projects to display"></asp:Label> 
                        </NoRecordsTemplate> 
                        <Columns> 
                            <telerik:GridBoundColumn HeaderText="Old Status" DataField="Old Status" Display="true">  
                                <HeaderStyle HorizontalAlign="Center" /> 
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn HeaderText="New Status" DataField="New Status" Display="true">  
                                <HeaderStyle HorizontalAlign="Center" /> 
                            </telerik:GridBoundColumn> 
                            <telerik:GridTemplateColumn> 
                                <HeaderStyle Width="18%" HorizontalAlign="Center" /> 
                                <HeaderTemplate> 
                                    <table style="color: Black;" border="0" cellpadding="0" cellspacing="0" width="100%">  
                                        <tr> 
                                            <td align="center">  
                                                Customer Incentive  
                                                <table border="0" cellpadding="0" cellspacing="0" width="100%">  
                                                    <tr> 
                                                        <td style="border-top: solid 1px gray;">  
                                                            Old  
                                                        </td> 
                                                        <td style="border-top: solid 1px gray;">  
                                                            New  
                                                        </td> 
                                                    </tr> 
                                                </table> 
                                            </td> 
                                        </tr> 
                                    </table> 
                                </HeaderTemplate> 
                                <ItemTemplate> 
                                    <table style="color: Black;" border="0" cellpadding="0" cellspacing="0" width="100%">  
                                        <tr> 
                                            <td style="vertical-align: middle;">  
                                                <asp:Label ID="lblcustomer" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Old Customer Incentive") %>'></asp:Label> 
                                                &nbsp;  
                                            </td> 
                                            <td style="vertical-align: middle;">  
                                                <asp:Label ID="lblcustnew" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "New Customer Incentive") %>'></asp:Label> 
                                            </td> 
                                        </tr> 
                                    </table> 
                                </ItemTemplate> 
                            </telerik:GridTemplateColumn> 
                            <telerik:GridTemplateColumn> 
                                <HeaderStyle Width="17%" HorizontalAlign="Center" /> 
                                <HeaderTemplate> 
                                    <table style="color: Black;" border="0" cellpadding="0" cellspacing="0" width="100%">  
                                        <tr> 
                                            <td align="center">  
                                                SP Incentive  
                                                <table border="0" cellpadding="0" cellspacing="0" width="100%">  
                                                    <tr> 
                                                        <td style="border-top: solid 1px gray;">  
                                                            Old  
                                                        </td> 
                                                        <td style="border-top: solid 1px gray;">  
                                                            New  
                                                        </td> 
                                                    </tr> 
                                                </table> 
                                            </td> 
                                        </tr> 
                                    </table> 
                                </HeaderTemplate> 
                                <ItemTemplate> 
                                    <table style="color: Black;" border="0" cellpadding="0" cellspacing="0" width="100%">  
                                        <tr> 
                                            <td style="vertical-align: middle;">  
                                                <asp:Label ID="lblSp" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Old SP Incentive") %>'></asp:Label> 
                                                &nbsp;  
                                            </td> 
                                            <td style="vertical-align: middle;">  
                                                <asp:Label ID="lblSpnew" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "New SP Incentive") %>'></asp:Label> 
                                            </td> 
                                        </tr> 
                                    </table> 
                                </ItemTemplate> 
                            </telerik:GridTemplateColumn> 
                            <telerik:GridTemplateColumn> 
                                <HeaderStyle Width="18%" HorizontalAlign="Center" /> 
                                <HeaderTemplate> 
                                    <table style="color: Black;" border="0" cellpadding="0" cellspacing="0" width="100%">  
                                        <tr> 
                                            <td align="center">  
                                                Third Party Incentive  
                                                <table border="0" cellpadding="0" cellspacing="0" width="100%">  
                                                    <tr> 
                                                        <td style="border-top: solid 1px gray;">  
                                                            Old  
                                                        </td> 
                                                        <td style="border-top: solid 1px gray;">  
                                                            New  
                                                        </td> 
                                                    </tr> 
                                                </table> 
                                            </td> 
                                        </tr> 
                                    </table> 
                                </HeaderTemplate> 
                                <ItemTemplate> 
                                    <table style="color: Black;" border="0" cellpadding="0" cellspacing="0" width="100%">  
                                        <tr> 
                                            <td style="vertical-align: middle;">  
                                                <asp:Label ID="lblSp" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Old Third Party Incentive") %>'></asp:Label> 
                                                &nbsp;  
                                            </td> 
                                            <td style="vertical-align: middle;">  
                                                <asp:Label ID="lblSpnew" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "New Third Party Incentive") %>'></asp:Label> 
                                            </td> 
                                        </tr> 
                                    </table> 
                                </ItemTemplate> 
                            </telerik:GridTemplateColumn> 
                            <telerik:GridTemplateColumn HeaderText="Updated By" HeaderStyle-ForeColor="Black"   
                                ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center">  
                                <ItemTemplate> 
                                    <div style="overflow: hidden; text-overflow: ellipsis; white-space: nowrap;">  
                                        <asp:Label ID="lblCreatedBy" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Created By") %>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "Created By") %>' /> 
                                    </div> 
                                </ItemTemplate> 
                            </telerik:GridTemplateColumn> 
                           <telerik:GridBoundColumn HeaderText="Updated On" DataField="Created On" Display="true">  
                                <HeaderStyle HorizontalAlign="Center" /> 
                            </telerik:GridBoundColumn> 
                        </Columns> 
                        <CommandItemTemplate> 
                            <div> 
                                <table width="100%" border="0" cellpadding="0" cellspacing="0">  
                                    <tr> 
                                        <td align="right">  
                                            <asp:Image ID="Imgexcel" Height="14" Width="14" ImageUrl="~/App_Themes/images/Excel-16.gif" 
                                                runat="server"></asp:Image>&nbsp;<asp:LinkButton Text="Export" ToolTip="Export" CausesValidation="false" 
                                                    OnClick="LnkBtnExcelImport_Click" ID="LnkBtnExcelImport" ForeColor="black" runat="server"></asp:LinkButton>&nbsp;  
                                            <%--<asp:Image ImageUrl="~/App_Themes/images/Refresh.gif" runat="server" ID="imgRefresh" /> 
                                                        <asp:LinkButton CommandName="Refresh" ToolTip="Refresh" ID="lnkRefresh" Text="Refresh" 
                                                            runat="server" ForeColor="Black"></asp:LinkButton>--%> 
                                        </td> 
                                    </tr> 
                                </table> 
                            </div> 
                        </CommandItemTemplate> 
                    </MasterTableView> 
                </telerik:RadGrid> 
Can any one help out in this please.

Thanks,
Jaishri
Jayashree
Top achievements
Rank 1
 answered on 15 Sep 2009
1 answer
148 views
Hi,

The xmlhttppanel seems to be a very nice control. Are there any scenarios or use cases where you would rather use the common update panel? If so, please elaborate beyond an answer such as "if you want the full page life cycle to occur you would choose the common update panel"!

Thanks a lot!
Pero
Telerik team
 answered on 15 Sep 2009
3 answers
197 views

Hi
Is there a solution to this problem.

In this Telerik link:
http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx

If you make the window smaller so it gets the scrollbars and then scroll the window just so you still can click on the imagemanager button. Then click one of the files for a preview, instantly the parent window scrolls.

 

Our problem is that we got a page with editable content all over the page, that opens an radwindow with the editor inside via a contextmenu. It centers the radwindow in the center of the scrolled parent page, however when using any of the filemanagers and clicking a file/folder the parentwindow (not the opened radwindow) jumps up so the filemanagers clicked file/folder displays just above the bottom of the page.

See these screenshots:
http://www.timelab.se/bug/

/Peter

Lini
Telerik team
 answered on 15 Sep 2009
1 answer
197 views
Within the Hyperlink Manager you can present the user with a drop down list of items for setting the Target attribute. Is there a way to remove any of the selections such as Search Pane, Media Pane, Custom Targets, etc.
Lini
Telerik team
 answered on 15 Sep 2009
1 answer
249 views
I am getting this error when I try to click spell checker in IE 7 inside RadEditor

A Runtime Error has occurred.
Do you wish to Debug?

Line:4723
Error: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.
Parameter name: data

I am using latest version of RadEditor dated Aug 2009. I tried all the solutions available on the forum.
Anyone else is having same kind of problem.
Lini
Telerik team
 answered on 15 Sep 2009
1 answer
67 views

Hi,

I have Main window with grid , when i click edit popup window comming with edit mode. After edit data and click save, popup window should close and main windows should change with new data.

How can i show main window with newly edited data?

lakmal

Vlad
Telerik team
 answered on 15 Sep 2009
1 answer
56 views

Hi,

When i use ajax following code not working. When i remove ajax from page, its working fine.

Why this?

 Path = "DocumentInfo.aspx?DocNo=" + lbId.Text;
                Response.Write("<script language = Javascript>var win=window.open('" + Path + "',null,'width=910,height=455,top=150,left=150','true');</script>");

 

lakmal

Vlad
Telerik team
 answered on 15 Sep 2009
3 answers
138 views
I use the following setting in my web.config file to set the skin for all Telerik controls on the site:

<add key="Telerik.Skin" value="Office2007"/>

This is not working for all Chart controls for the site.

Is there another setting I could use for all Chart controls?  I cannot find this setting within the Chart documentation.



Ves
Telerik team
 answered on 15 Sep 2009
1 answer
156 views
Hi,

        I have Hierarchical Grid, it has parent grid and a child grid, inside the child gird it contains a Usercontrol and while updating the child grid it should not refreshing the parent Grid. can any one help me out on this.

Thanks,
Jayashree.S
Prangadj
Top achievements
Rank 1
 answered on 15 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?