Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
145 views
Row Indicator :
Expected:
RadGird  "arrow indicator" to be appear on the first Column. 
I need a solution for : "Whenever  I click a cell in a Grid Row, the arrow indicator should moves to the corresponding Row in a Radgrid."

Pavlina
Telerik team
 answered on 19 May 2011
1 answer
133 views
This is very complicated, but I will try and explain.  I have a RadGrid that contains a Repeater inside a GridTemplateColumn.  The repeater is a usercontrol that I've written, that is a HyperLink with some javascript that accommodates an onmouseover effect.

I have many records in my database that use this display.  For most of them, I have no problems and the entire interface works as expected.  There is one record (at least that we've discovered so far) that gives me this bizarre problem: the page loads just fine and displays as expected, but when I click on a column to sort I get a "The connection was reset" error.  I have played around with this a bunch and have discovered that if I set the HyperLink in my usercontrol that is inside the repeater to "#" instead of a valid URL, the page works as expected.  If I set the URL to some long (but valid) URL (http://www.telerik.com/community/forums/new-thread.aspx?forumId=249, for example), the sorting behavior fails. 

Note: this problem ONLY occurs with this specific record - all other records that we have tested with exhibit the expected behavior.  And because setting the HyperLink NavigateUrl to a valid URL with appropriate characters also causes this unexpected behavior, it is clearly not an issue with our data.

So I think the problem might have to do with the ViewState size.  Are there any known issues related to ViewState size and RadGrid sorting? 

If necessary, if you give me a direct email address, I can give you the URL and login information to the staging site for you to reproduce the problem.  As I'm sure you understand, I don't want to post that information on a public forum.

Thank you,

Rachael
Radoslav
Telerik team
 answered on 19 May 2011
1 answer
56 views
I noticed that when using GridSettingsPersister.LoadSettings, it does not load the PageSize into the RadGrid when I am using a custom pager. I was able to fix this for myself by change the below method of GridSettingsPersister. Is this a correct fix?

    protected virtual void LoadPagingSettings()
    {
        if (Grid.MasterTableView.AllowPaging && Settings.PageSize > 0)
        {
            //Grid.MasterTableView.PageSize = Settings.PageSize;
            Grid.PageSize = Settings.PageSize;
        }
    }

Thanks!

										
Veli
Telerik team
 answered on 19 May 2011
1 answer
83 views
We upgraded our developer envirnoments from VS 2008 to VS 2010.
After running the various upgrade wizards (teleriks also) and running the site.. None of the styles, css, skins and themes are worling now...

Any ideas?
Sebastian
Telerik team
 answered on 19 May 2011
1 answer
113 views
I have been using the RadAJAXManager available in Telerik RadControls Q2 2010 and while running my application in IE 9, I have been receiving the following error message while my RadAJAXLoadingPanel is displaying the image:

Line: 15
Error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 12030

I am not quite sure why I am receiving this error message.  Below is the code that I am using for my postback on the checkboxchanged event within the RadGrid:

<asp:wizardstep id="wizStepClassReg" title="Class Registration" runat="server" steptype="Step">
            <asp:validationsummary id="vldSummaryCourseSelection" validationgroup="selectedCourses"
                displaymode="SingleParagraph" showmessagebox="true" runat="server" forecolor="Red" />
            <asp:customvalidator id="vldCustomCourseSelection" runat="server" onservervalidate="vldCustomCourseSelection_ServerValidate"
                validationgroup="selectedCourses" errormessage="Please select at least one course for registration"
                display="None" />
            <telerik:radajaxmanager id="radAJAXMgr" enableajax="true" runat="server" defaultloadingpanelid="radAJAXLoadingPanel">
                <ajaxsettings>
                    <telerik:ajaxsetting ajaxcontrolid="gv">
                        <updatedcontrols>
                            <telerik:ajaxupdatedcontrol controlid="gv" loadingpanelid="radAJAXLoadingPanel" />
                        </updatedcontrols>
                    </telerik:ajaxsetting>
                </ajaxsettings>
            </telerik:radajaxmanager>
            <telerik:radajaxloadingpanel id="radAJAXLoadingPanel" runat="server" skin="Black" />
            <telerik:radgrid id="gv" autogeneratecolumns="false" showfooter="false" runat="server"
                cellspacing="0" gridlines="None" allowpaging="true" allowsorting="true" skin="Outlook"
                onpageindexchanged="RadGrid1_PageIndexChanged" showgrouppanel="false" onsortcommand="RadGrid1_SortCommand"
                onpagesizechanged="RadGrid1_PageSizeChanged" onitemdatabound="gv_ItemDataBound">
                <mastertableview datakeynames="CourseID" pagesize="25">
                    <commanditemsettings exporttopdftext="Export to PDF"></commanditemsettings>
                    <rowindicatorcolumn filtercontrolalttext="Filter RowIndicator column">
                    </rowindicatorcolumn>
                    <expandcollapsecolumn filtercontrolalttext="Filter ExpandColumn column">
                    </expandcollapsecolumn>
                    <groupbyexpressions>
                        <telerik:gridgroupbyexpression>
                            <selectfields>
                                <telerik:gridgroupbyfield fieldalias="AgeGroup" fieldname="CategoryDesc" />
                                <telerik:gridgroupbyfield fieldalias="Subject" fieldname="SubjectDesc" />
                            </selectfields>
                            <groupbyfields>
                                <telerik:gridgroupbyfield fieldname="CategoryDesc" sortorder="None" />
                                <telerik:gridgroupbyfield fieldname="SubjectDesc" sortorder="None" />
                            </groupbyfields>
                        </telerik:gridgroupbyexpression>
                    </groupbyexpressions>
                    <columns>
                        <telerik:gridboundcolumn uniquename="CourseID" readonly="true" display="false" datafield="CourseID" />
                        <telerik:gridtemplatecolumn>
                            <itemtemplate>
                                <asp:checkbox runat="server" id="chk" oncheckedchanged="CheckChanged" autopostback="true" />
                            </itemtemplate>
                        </telerik:gridtemplatecolumn>
                        <telerik:gridboundcolumn headertext="Age Group" datafield="CategoryDesc" />
                        <telerik:gridboundcolumn headertext="Subject" datafield="SubjectDesc" />
                        <telerik:gridboundcolumn uniquename="CourseDescription" datafield="CourseDescription" headertext="Ages" />
                        <telerik:gridboundcolumn headertext="Term" datafield="term.TermDesc" />
                        <telerik:gridboundcolumn headertext="Course Cost" datafield="Cost" dataformatstring="{0:C}" />
                        <telerik:gridboundcolumn headertext="Length (Weeks)" datafield="CourseLength" />
                        <telerik:gridboundcolumn headertext="Days" datafield="Days" />
                        <telerik:gridboundcolumn headertext="Start Time" datafield="StartTime" />
                        <telerik:gridboundcolumn headertext="End Time" datafield="EndTime" />
                        <telerik:gridboundcolumn headertext="Location" datafield="location.LocationDesc" />
                    </columns>
                    <editformsettings>
                        <editcolumn filtercontrolalttext="Filter EditCommandColumn column">
                        </editcolumn>
                    </editformsettings>
                </mastertableview>
                <headercontextmenu cssclass="GridContextMenu GridContextMenu_Default">
                </headercontextmenu>
            </telerik:radgrid>
        </asp:wizardstep>

Please advise.
Sebastian
Telerik team
 answered on 19 May 2011
1 answer
42 views
Hello .

ScriptManager.RegisterStartupScript(this, this.GetType(), "Key", "radconfirm('This Asset Make Use Ticket, Are Sure Delete This Asset?',confirmCallBackFn, 330, 100, null,'Send Message?');", true);

i call that script

 function confirmCallBackFn(sender, arg) {
                debugger;
                var sample
                if (arg == true) {
                    var lbltxt = "0";
                    var hdnval = document.getElementById("MainContent_hdnval");
                    hdnval.innerText = lbltxt;
                }
                else {
                    var hdnval = document.getElementById("MainContent_hdnval");
                    hdnval.innerText = "1";            
                }
            }

after execute this script
i want go to server side after that only i check
hdnval = 0 i check some process

please reply soon



Thanks,
Mohamed.
Tsvetoslav
Telerik team
 answered on 19 May 2011
10 answers
298 views
I found the code to hide or remove Hourly recurrence and it was very helpful.
Now, I tried to hide or remove Saturday and Sunday checkboxes of Weekly recurrence in RadSchedulerRecurrenceEditor.
How do I do this?  Please help!  Thanks in advance!
Veronica
Telerik team
 answered on 19 May 2011
1 answer
44 views
Hi:
I need to get the text tiped on filter box of my gridview.

Thanks.
Shinu
Top achievements
Rank 2
 answered on 19 May 2011
2 answers
88 views
Hello, I am developing a web application with asp.net and Telerik RadAjax control. I found a problem.That is RadGrid UI is not load correctly. The grid is show the image bellow. How can i solve this type of error.


#NB: This Grid Code is Copy from other Page.


Thanks
Nahid
Nahid
Top achievements
Rank 1
 answered on 19 May 2011
2 answers
217 views
Hello,

Here I need to find DataFieldId from RadTreeView through javascript. My scenario as under:

RadTreeView Fillup as:

RadTreeView1.DataTextField = "ModuleName";
RadTreeView1.DataFieldID = "ModuleID";
RadTreeView1.DataValueField = "URL";
RadTreeView1.DataFieldParentID = "ParentModuleID";
RadTreeView1.DataSource = lstmenu;
RadTreeView1.DataBind();

As above I need DataTextField to display text of my modules, DataValueFields which i am using in JS to pass local url in it. In DatafieldId I am storing "ModuleId". But in javascript I can not find DataFieldId which I need to user on click of RadTreeNode.

JS as like:

function onNodeClicking(sender, args) {
    if (args.get_node().get_value() != null) {
        //window.open(args.get_node().get_value(), args.get_node().get_text(), 'resizable=yes')
    }
}

in above js I need to find DataFieldId also. Please assit me how to do this.

Thanks & Regards,

Kaushal Jani
Kaushal
Top achievements
Rank 1
 answered on 19 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?