Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
114 views
I could do Multi Column Sorting , by setting clicking the Column header s , but i want to do it Programatically without clicking the RadGrid Column headers ..
Liji Jose
Top achievements
Rank 1
 answered on 09 Feb 2010
5 answers
154 views
Hi,

I'm using the telerik Rad controls for ASP .NET AJAX version 2009_3_1103

I have two RadComboBox with a RadTreeView each one.
When I check a node in the first TreeView (in the first ComboBox) the second treeview is rebinding with a new information.
The all is ajaxifing with a RadAJAXManager.

The thing is that this work fine when I check one and two times but on the third time the following error is occurring!

The error is:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

Best regards.
Veselin Vasilev
Telerik team
 answered on 09 Feb 2010
1 answer
101 views
hi Support team.
i want to Expand And Collaps with Customize Link Button without use ExpandCollapseColumn.
it means wanna implement programatically.
i use this code but dont work
tnx 4 ur attention
protected void HyperCommentShowHide_Click(object sender, EventArgs e) 
    { 
 
     


            LinkButton HyperCommentShowHide = (LinkButton)sender; 
            foreach (GridDataItem dataitem in RadGrid1.MasterTableView.Items) 
            { 
                Response.Write(dataitem.KeyValues); 
                string[] splitedDataItem = dataitem.KeyValues.Split(':'); 
                string[] splitedDataItemFinal = splitedDataItem[1].Split('"'); 
                if (splitedDataItemFinal[1] == HyperCommentShowHide.CommandArgument.ToString()) 
                { 
                    dataitem.Expanded = true
                    break
                } 
 
 
            } 
        } 




    }  


  <asp:LinkButton CommandArgument='<%# Eval("ID") %>'
OnClick="HyperCommentShowHide_Click" ID="HyperCommentShowHide"
runat
="server">LinkButton</asp:LinkButton> 
Shinu
Top achievements
Rank 2
 answered on 09 Feb 2010
1 answer
82 views
Hello Friends

I had used radwindowmanger  for open the popup.
Popup is display proper in IE but its header is not display proper in firefox.

Its also working fine in some popup with firefox but it creating problem in some popup.

for more detail pls find the attached screen shot of image.

Pls help me how i will resolve the problem.

Thanks & Regards
Jignesh Patel



Georgi Tunev
Telerik team
 answered on 09 Feb 2010
6 answers
218 views
Hello,

I can't access the RadGrid inside the panel bar through intellisense..

<telerik:RadGrid ID="MyConditions" runat="server" Skin="Web20"  
                                                 AutoGenerateColumns="false" Width="450px" Height="300px" 
                                                  OnNeedDataSource="MyConditions_NeedDataSource"
                                                    <MasterTableView> 
                                                        <Columns> 
                                                            <telerik:GridBoundColumn HeaderText="Condition ID" DataField="ConditionId" ></telerik:GridBoundColumn> 
                                                            <telerik:GridBoundColumn HeaderText="Condition" DataField="Condition" ></telerik:GridBoundColumn> 
                                                            <telerik:GridBoundColumn HeaderText="From:" DataField="FromTime" ></telerik:GridBoundColumn> 
                                                            <telerik:GridBoundColumn HeaderText="To:" DataField="ToTime" ></telerik:GridBoundColumn> 
                                                            <telerik:GridBoundColumn HeaderText="Treatments" DataField="Treatments" ></telerik:GridBoundColumn> 
                                                        </Columns> 
                                                    </MasterTableView> 
                                                </telerik:RadGrid> 

When I try to access it in VB, it doesn't recognize it..
Iana Tsolova
Telerik team
 answered on 09 Feb 2010
3 answers
219 views
Hi,

I am using the WebBlue as the theme. When the list is long, in IE8 overflow is not working, so the items get transparent, but the default skin is working in IE8.

These are the configuration i have used in the config file,

    <appSettings>
        <add key="Telerik.Skin" value="WebBlue"/>
        <add key="Telerik.EnableEmbeddedSkins" value="false"/>
   </appSettings
        <pages theme="WebBlue" enableViewStateMac="true" maintainScrollPositionOnPostBack="false" viewStateEncryptionMode="Auto">
            <controls>
                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
            </controls>
        </pages>

Also i have attached the screen for your reference. Can you provide me some information on this matter.
Thanks,
Hasitha.



Simon
Telerik team
 answered on 09 Feb 2010
2 answers
117 views
Hello,

I want to use RadMenu and RadGrid controls in moss2007, both of these controls will be in hierarchy. In each row of RadGrid I have to load actions from the database on ItemDataBound event of grid.
I've done the configurations provided at the "Incorporating RadControls in MOSS sites" page.
When I load the menuitems statically, It works but when I load it from database, the page doesn't show up and some error occurs.

Second thing, I want to apply the radcontrols' skin on both RadGrid and RadMenu, how to do that?
I copied the "RadControls/Grid" and "RadControls/Menu" folders to the Images folder of the website and changed the properties of the controls respectively but some IOException is thrown by MOSS.

Please help me asap.

Regards,

Talha Majeed.
Talha
Top achievements
Rank 2
 answered on 09 Feb 2010
2 answers
192 views

Hello.

We have an ASP page showing a list of tasks. When clicking on one of the tasks, we show the task in a RadWindow using the radopen function. The RadWindow then shows a new asp page. This works fine, but if we in the page load event of the asp page shown in the RadWindow, set focus to an asp textbox, the scrollbar in the web browser moves to the top. This cause the RadWindow to scroll out of visibility for the user when user has scrolled down in the task list to open a task.

Is this a bug in the RadWindow control?

We use the latest version - 2009 Q3 SP2.

Regards, Rolf

Rolf Falnes
Top achievements
Rank 1
Iron
 answered on 09 Feb 2010
2 answers
68 views
i am trying to have a RadGrid in .aspx page and Setting the AutoGenerate Column = False , and tried adding TextBox and Combobox inside the RadGrid through source view
.{

inside <Columns>

 

 

GridTemplateColumn

 

}

but after adding it inside , the RadGrid is not Showing the Controls placed inside in it ....

I dont know where i had made a mistake



<%

@ Page Language="VB" AutoEventWireup="false" CodeFile="Default3.aspx.vb" Inherits="Default3" %>

 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<!

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<

 

html xmlns="http://www.w3.org/1999/xhtml">

 

<

 

head runat="server">

 

 

<title></title>

 

</

 

head>

 

<

 

body>

 

 

<form id="form1" runat="server">

 

 

<div>

 

 

 

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">

 

 

</telerik:RadScriptManager>

 

 

 

<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False"

 

 

GridLines="None">

 

 

<MasterTableView >

 

<

 

RowIndicatorColumn>

 

<

 

HeaderStyle Width="20px"></HeaderStyle>

 

</

 

RowIndicatorColumn>

 

<

 

ExpandCollapseColumn>

 

<

 

HeaderStyle Width="20px"></HeaderStyle>

 

</

 

ExpandCollapseColumn>

 

 

<Columns>

 

 

<telerik:GridTemplateColumn HeaderText="#">

 

<

 

ItemTemplate>

 

 

<asp:Label ID="lblRowID" runat="Server" ></asp:Label>

 

</

 

ItemTemplate>

 

</

 

telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn HeaderText="Col2">

 

<

 

ItemTemplate>

 

 

<telerik:RadComboBox ID="ddlOperator" runat="server" CssClass="ddlClass" AutoPostBack="true"

 

 

EnableViewState="true">

 

<

 

Items>

 

<

 

telerik:RadComboBoxItem Text="Ascending" Value="Ascendings" />

 

</

 

Items>

 

</

 

telerik:RadComboBox>

 

</

 

ItemTemplate>

 

</

 

telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn HeaderText="Col3">

 

<

 

ItemTemplate>

 

<

 

telerik:RadTextBox runat="server" ID="txt" Text="col"></telerik:RadTextBox>

 

</

 

ItemTemplate>

 

</

 

telerik:GridTemplateColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

</

 

telerik:RadGrid>

 

 

</div>

 

 

</form>

 

</

 

body>

 

</

 

html>

 

Liji Jose
Top achievements
Rank 1
 answered on 09 Feb 2010
4 answers
94 views
I use client-side programmatic binding, like the demo in Grid\Populating with Data\Client-side binding\Programmatic Binding .

can I use group by if using client-side programmatic binding?
Simon Chulsky
Top achievements
Rank 1
 answered on 09 Feb 2010
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?