Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
243 views
I need to have endless session. I've tried a lot of ways but my page continues lossing session.

I want to know if  I need to configure something special in the IIS.

The latest trick I used it was to have an iframe calling an asp.net web page, but it doesnt works. Ok, this scenario works only locally but when I move it to the production environment it doesnt works.

Can somebody share a working sample jquery + telerik, for doing session keep alive?

Thanks
T. Tsonev
Telerik team
 answered on 04 Aug 2010
1 answer
124 views
HI,

Is it possible to drag/drop objects INTO an appointment already on the scheduler?  In other words, I want to associate several items (objects) with a single appointment, from a list of those items displayed in another control off to the side of the scheduler.

Thanks.
T. Tsonev
Telerik team
 answered on 04 Aug 2010
1 answer
157 views
I noticed there is a WebMail demo but is there documentation on how to build the Telerik WebMail Demo or a way to see the code for this demo?
WCRA Dev
Top achievements
Rank 1
 answered on 04 Aug 2010
10 answers
223 views
I'm investigating several controls (from Telerik and others) trying to find out if I can make a chart to my boss's liking. He basically wants a line chart that would allow the user to "zoom" into a current period of time (like 1 day, 5 day, 1 week, 1 month, 1 year, etc). And he would like it if a user could hover over a certain point in the chart to show the value.

Here's an example of a Google Finance chart: Google Finance

I've used Telerik controls before and absolutely love them, but I'll need to upgrade to the latest version. Before I put the request into AP to buy the latest software, I need to know if Telerik can do this (or do most of it).

Is there a way to do this with Telerik chart controls?

Thanks for your help,
Andrew
Giuseppe
Telerik team
 answered on 04 Aug 2010
2 answers
242 views
I have an odd issue...  I have a RadGrid that where filtering works on some of the columns, but not all.  On the columns that don't work I get the JavaScript error:

Error: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.
Source File: http://portal/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a8f393b2b-3315-402f-b504-cd6d2db001f6%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.2.713.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a1814ab69-dbf3-46be-b5e4-1b4e7d85f183%3a16e4e7cd%3af7645509%3a24ee1bba%3a1e771326%3a4cacbc31%3aed16cbdc%3a58366029%3aaa288e2d%3ae330518b%3ac8618e41%3ae4f8f289
Line: 15

There is nothing really different about the columns it works on vs. the columns it doesn't work on.  They're all text data fields.

I am using Ajax, and binding the dataset in the NeedDataSource event.  The data source is a DataTable I build from data I pull in from an MSSQL Server.   It doesn't appear that needdatasource ever gets hit when the error is raised.

Thanks!
Ron Michael Zettlemoyer
Top achievements
Rank 1
 answered on 04 Aug 2010
1 answer
42 views
Have anyone come accross this problem?

I have some javascript code to manage tabs, witch is working with anchors.

When i open a page without anchors i can move on tabs with no problem. The OnItemsRequested is fireing normal.
When i come to the page with a preselected tab url#something the OnItemsRequested fail to trigger.

It's working in FF. I'm using version 2009.2.826.35 of Asp.net Ajax controls.
Simon
Telerik team
 answered on 04 Aug 2010
5 answers
162 views
Hi,

I have a scheduler bind to a web service everything is working fine, except that i'd like to add 2 features to the advanced form, by javascript, without using a custom template.

I'd like to add an event on the StartDate datepicker that changed automatically the end date with the same date.


I'd also like to check the AllDay checkbox by default.

I have done some test and nothing works, so maybe someone can help me...


To check the AllDay checkbox, I did in the OnClientFormCreated:
$telerik.$(".rsAllDayWrapper .rsAdvChkWrap input[type=checkbox]:first").click();

Result: Checkbox never checked...

To add an event on the startdate datepicker I did

function OnClientFormCreated(sender, eventArgs) {
var
startDateHtml = $telerik.$(".rsTimePickers .rsAdvDatePicker input[id$='StartDate']:first");
var startDateId = startDateHtml.attr('id');
var startDate = $find(startDateId);
startDate.get_dateInput().add_valueChanged(Test);
}

function Test(sender, arg) {
    alert('changed'); 
}

Result => When I either change the date directly in the text field or i use the picker, no event triggered

Thanks in advanced for your help

Veronica
Telerik team
 answered on 04 Aug 2010
1 answer
120 views
Hi,

I'm trying to create some autosave functionality to fire after the position of my docks change.

i have created the folowing event for the on change to fire.

internal void DockPositionChanged(object sender, DockPositionChangedEventArgs e)
        {
            RadDock dockSender = (RadDock)sender;
            int cntDocks = 0;
            int Ix = 0;
  
            dockstates = DocLayoutZone.GetRegisteredDocksState();
            cntDocks = dockstates.Count;
  
            Dictionary<string, string> myPositions = new Dictionary<string, string>();
            Dictionary<string, int> myIndices = new Dictionary<string, int>();
                          
            while (Ix < cntDocks)
            {
  
                if (dockSender.DockZoneID == dockstates[Ix].UniqueName)
                {
                    myPositions.Add(dockstates[Ix].UniqueName, e.DockZoneID);
                    myIndices.Add(dockstates[Ix].UniqueName, e.Index);
                }
                else
                {
                    myPositions.Add(dockstates[Ix].UniqueName,  dockstates[Ix].DockZoneID);
                    myIndices.Add(dockstates[Ix].UniqueName, dockstates[Ix].Index);
                }
                Ix++;
            }          
             
            Telerik.Web.UI.DockLayoutEventArgs myEvent = new DockLayoutEventArgs(myPositions, myIndices);
  
            mySaveDockLayout(sender, myEvent, dockstates);
        }
 
in mySaveDockLayout i try to save all positions to a cookie
protected void mySaveDockLayout(object sender, Telerik.Web.UI.DockLayoutEventArgs e, List<DockState> dockStates)
        {         
            JavaScriptSerializer serializer = new JavaScriptSerializer();
            string serializedPositions = serializer.Serialize(e.Positions);
            string serializedIndices = serializer.Serialize(e.Indices);
            string serializedDockStates = serializer.Serialize(dockStates);
  
            HttpCookie positionsCookie = new HttpCookie("DockLayout",
                serializer.Serialize(new string[] { serializedPositions, serializedIndices, serializedDockStates }));
  
            positionsCookie.Expires = DateTime.Now.AddYears(1);
            HttpContext.Current.Response.Cookies.Add(positionsCookie);                     
        }

and on the RadDockLayout control i call the following OnLoadDockLayout="LoadDockLayout" to load my dashboard from a cookie
internal void LoadLayout(HttpContext httpContext, DockLayoutEventArgs e, RadDockLayout dockLayout)
        {
            HttpCookie positionsCookie = httpContext.Request.Cookies["DockLayout"];
            if (!Object.Equals(positionsCookie, null))
            {
                string serializedPositionsAndIndices = positionsCookie.Value;
                if (!string.IsNullOrEmpty(serializedPositionsAndIndices))
                {
                    JavaScriptSerializer serializer = new JavaScriptSerializer();
                    string[] positionsAndIndices = serializer.Deserialize<string[]>(serializedPositionsAndIndices);
  
                    e.Positions = serializer.Deserialize<Dictionary<string, string>>(positionsAndIndices[0]);
                    e.Indices = serializer.Deserialize<Dictionary<string, int>>(positionsAndIndices[1]);
  
                    if (positionsAndIndices.Length > 2)
                    {
                        List<DockState> dockStates = serializer.Deserialize<List<DockState>>(positionsAndIndices[2]);
  
                        foreach (DockState state in dockStates)
                        {
                            RadDock dock = (RadDock)dockLayout.FindControl(state.UniqueName);
                            if (dock != null)
                            {
                                dock.Closed = state.Closed;
                                dock.Collapsed = state.Collapsed;
                                dock.Pinned = state.Pinned;
                            }
                        }
                    }
                }
            }
        }

but after i restart my project my docks are set to different dockzones and not on the one i placed them before.

Could you please shed some light on this situation?
Pero
Telerik team
 answered on 04 Aug 2010
1 answer
44 views
Hi,

   I am using a radcomobox in my project. I am binding it with my custome built function, which generates a list of various date ranges. The control is working fine in US, but in UK and Europe it behaves weirdly. Can some one suggest me, what the problem may be.

 Thanks
T. Tsonev
Telerik team
 answered on 04 Aug 2010
5 answers
159 views
I have seen somewhere that it is possible to limit of options available for the users of the editor by insert of some tags in the .aspx-file. Are a list with all option-tags available somewhere?
Rumen
Telerik team
 answered on 04 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?