Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
155 views
First off, let me say that I am quite excited to learn more about RadControls.  I'm still mostly a beginner .net developer (I've been developing with ASP classic for years but only touched .net here and there) but even after just a few days of working with the trial I can see that these controls are going to help me move forward immensely.

Anyway, one of the tasks that I need to perform is pretty simple, I think.  I need to be able to use a tab control to load content from multiple sources - other servers on our network.  The content will be called via url and I'd like it to maintain "state" if I can use that term in this context.  In other words, click tab 1, load content, click link in content, content changes.  Click tab 2, load content.  Click tab 1 again and return to content as it was when I last viewed it.

I'm currently trying to accomplish this using the Tabstrip/MulitPage/Pageview combination that is shown in the demos on this site.  I have no problem getting everything to load (contentURL="xxxxx" is simple enough) but the state is lost when you click another tab.

I also attempted to do this using RadWindow and I believe the "state" was maintained the way I wanted it to be but when I tried to combine that with the Tab/Pageview method I found that the windows need to be told when to show/hide so it seemed to defeat the purpose of using tabs.

Lastly, I'll just add that I thought the first method (tab/multipage/pageview) was working the way I wanted it but I'm not sure if that was ever the case. I've done too much fiddling and I can't remember what worked and what didn't.  I do know that it doesn't work now though and I'm hoping I changed something along to way to make that so.  I may just start a new page and try again from scratch.

At any rate, my question is, simply, is what I'm trying to do the best way to do it and, if so, would someone be kind enough to offer some advice as to how to go about it?  I'll post some code if need be but I have yet to write anything in the codebehind so there's not much to see.

Thanks.
dino
Top achievements
Rank 1
 answered on 06 Jul 2012
2 answers
220 views
hi.. I've been playing around with radcalendar and noticed that when I click a date it sets the value of selected date to the date as expected. However if I then click the same date the value of radcalendar1.SelectedDate is set to 01/01/0001 00:00:00 .

If you click different days radcalendar.SelectedDate is always set to the correct value, it just seems to occur when you click the same date.

is there a simple fix for this?

<telerik:RadCalendar ID="RadCalendar1" Runat="server" CultureInfo="en-GB"
    MultiViewColumns="4" MultiViewRows="1"
        EnableMultiSelect="false" AutoPostBack="true"
    OnSelectionChanged="RadCalendar1_SelectionChanged" SelectedDate=""  
    ViewSelectorText="x" Skin="Windows7">
        <SpecialDays>
            <telerik:RadCalendarDay Date="" Repeatable="Today">
                <ItemStyle CssClass="rcToday" />
            </telerik:RadCalendarDay>
        </SpecialDays>
Jake
Top achievements
Rank 1
 answered on 06 Jul 2012
4 answers
184 views
Radajaxmanagerproxy.Responsescript is not firing Javascripts in Google Chrome but working fine with IE and FF.
Anindya
Top achievements
Rank 1
 answered on 06 Jul 2012
0 answers
84 views
If I use user control to edit grid records can inject property/constructor to my control, or hook to any 'Pre' ItemCreated of the grid that I use event ?
Jacob
Top achievements
Rank 1
 asked on 06 Jul 2012
1 answer
176 views
I have a grid that opens up a fancybox on a nested item, it updates the tables and then when the fancybox closes the grid should reload the datasource and rebind.
JS
$("a.verifyAnalyst").fancybox({
    'width': '100%',
    'height': '100%',
    'autoScale': true,
    'transitionIn': 'none',
    'transitionOut': 'none',
    'type': 'iframe',
    'onClosed': function() {
                    $find("<%=WIPAjaxManager.ClientID%>").ajaxRequest("Rebind");
                }
});
Code Behind
protected void WIPAjaxManager_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
    if (e.Argument == "Rebind")
    {
        WorkInProgressMainGrid.MasterTableView.SortExpressions.Clear();
        WorkInProgressMainGrid.MasterTableView.GroupByExpressions.Clear();
        WorkInProgressMainGrid.Rebind();
    }
}
The problem is that is actually calling the rebind, but the grid doesn't update, then when I click on any other button I get the following error:
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.

I can't see why this is happening? Other Rebinds using onClick events are working 100%.

Can someone please advise me on how to reload the grid on closing of a fancybox.

Thank you.
Jayesh Goyani
Top achievements
Rank 2
 answered on 06 Jul 2012
1 answer
152 views
I try to set value to RadRating using variabel <%= 5%>
<telerik:RadRating ID="rrBarnDia" Value='<%=5%>' Precision="Exact" Skin="Sitefinity" ReadOnly="true" Runat="server" />

But have error:
Cannot create an object of type 'System.Decimal' from its string representation '<%=5%>' for the 'Value' property.
What do i wrong?
Slav
Telerik team
 answered on 06 Jul 2012
4 answers
219 views
Hi,

I am using a radgrid to display data and RadMenu control for menu.
If, I reduce the size of the screen and click on filter of one of the columns in RadGrid, the filter menu items are getting hidden behind the RadMenu.

How do I bring the radgrid filter menu over the RadMenu?

Please help.

I have attached the screenshot of the problem.

Thanks,
Aditi
Aditi
Top achievements
Rank 1
 answered on 06 Jul 2012
1 answer
107 views
Greetings,

I am currently trying to implement the AjaxSpellCheck into my RadEditor.  I am getting an issue about my dictionaries not existing.  I think the issue is I'm trying to cross domains.  Here is the scenario:

I have one project that has a Wiki within it.  The RadEditor exists here.
My other project, the main project of the site, contains the App_Data/RadSpell/en-US.tdf file, along with the web.config settings.

I'm trying to point the RadEditor to the main project's App_Data for it's dictionary.  Is that possible or does it need to be within the same project?

Kindest Regards,
Chad Johnson
Chad Johnson
Top achievements
Rank 1
 answered on 06 Jul 2012
1 answer
74 views
Guys I am sorry I am following the below video tutorial and I am stumped


http://tv.telerik.com/watch/aspnet/radgrid/radgrid-edit-templates 

When I get to the part where I create Form Template. The author goes "You do not want to see me put this controls on" so then it fast forwards tills all the text boxes and buttons are on!!!!!!!

Thats what I want to see? I am new to this and need step by step instructions, if I am going to teach myself.

Is their a video where it shows you how to add the controls to a template?

Matt
Elliott
Top achievements
Rank 2
 answered on 06 Jul 2012
11 answers
611 views
I am using RadControls for ASP.NET AJAX Q1 2012 in my current project.

I have a web page which has a RadNumericTextBox and a RadGrid.

The RadGrid has In Place edit mode and only accepts double value on each cell.

I need to do the following on the web page :
1. After the user enters a value on the RadNumericTextBox, display a background colour on the RadNumericTextBox depending on the value entered.
2. After the user enters a value on each RadGrid cell, display a background colour on the RadNumericTextBox depending on the  value entered.

The background colour needs to be displayed as soon as the value has been completely entered.

Can you please help me how to do this?

Thanks,
Herman
Tsvetina
Telerik team
 answered on 06 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?