Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
95 views
I have a grid and a SlideZone with SlidePane.
When user selected row --> open SlidePane.
When user deselected row --> slidepane are collapse but broke the design

I attacha 2 images.

How I can fix this?

I open and close programmatically
July
Top achievements
Rank 2
 answered on 28 Nov 2011
1 answer
85 views
How do you detect that a freehand (maunual) entry is made into the RadComboBox? Naturally, this value has to be validated using regex match pattern...
Kevin
Top achievements
Rank 2
 answered on 28 Nov 2011
2 answers
84 views
When I set a group by on the Timeline View I lose my records. I am using a List<ScheduleInfo> as my datasource 

                List<ScheduleInfo> appointments = new List<ScheduleInfo>();

                appointments.Add(new ScheduleInfo(new DateTime(2011, 11, 18, 8, 00, 00),
                                                    new DateTime(2011, 11, 22, 13, 30, 00),
                                                    "Course: 1234 - Instructor: Me",
                                                    "Dorm 1"));
                appointments.Add(new ScheduleInfo(
                                                    new DateTime(2011, 11, 15, 8, 00, 00),
                                                    new DateTime(2011, 11, 20, 13, 30, 00),
                                                    "Course: 4321 - Instructor: Me",
                                                    "Dorm 2"));
                appointments.Add(new ScheduleInfo(
                                                    new DateTime(2011, 11, 15, 8, 00, 00),
                                                    new DateTime(2011, 11, 20, 13, 30, 00),
                                                    "Course: 4321 - Instructor: Me",
                                                    "Dorm 1"));


                RadScheduler1.DataSource = appointments;
                RadScheduler1.DataBind();

And setting my GroupBy to the Dorm attribute of the ScheduleInfo

            <TimelineView NumberOfSlots="28" ColumnHeaderDateFormat="dd"  
                    GroupBy="Dorm" GroupingDirection="Vertical" HeaderDateFormat="MM/dd/yyyy"  />    

Any ideas why my records are disappearing?

Thanks,

Chip
Chip
Top achievements
Rank 1
 answered on 28 Nov 2011
5 answers
242 views
We have a WebSite and it uses Telerik and AjaxControlToolikit components both. But we faced a brand new problem.

Problem: If there is an "AjaxControlToolkit.dll" in your Bin folder. RadWindow.OnClientClose event fires only once time.

To reproduce this error, you can use "\Live Demos" samples shipped with Telerik.

Steps to reproduce:
Set startup page to "\Live Demos\Window\Examples\Default\DefaultVB.aspx" and,
add "alert(oWnd);" after the "function OnClientClose(oWnd) {".

After the changes code must be shown like this:
function OnClientClose(oWnd) {
    alert(oWnd); //newly added line
    //Get the title of the active RadWindow
    var title = oWnd.get_title();
    .....
    .....



Then run the sample.

Press "Open" button for three times to open three "bing.com" windows. And try to close one by one opened windows.
So far, there is no problem. Every click to "X" button, will fire "OnClientClose" event.

Now; add the "AjaxControlToolkit.dll" to the "Live Demos\Bin" folder. And run same example again.
When you close the first Bing Window you'll see an alert. But when you try to close second ( or third, or more) Bing window "OnClientClose" event will be not fired.




Information:
Visual Studio 2010 - .NET 4.0 Web Site Project
Telerik.Web.UI : 2011.3.1115.40
AjaxControlToolkit.dll: 4.1.51116.0 (latest)
Kevin
Top achievements
Rank 2
 answered on 28 Nov 2011
1 answer
90 views
hello all,
I have a problem that I can not fix.
I have a aspx page with a radtabstripeach tab loads a different UserControl.

menus call the same tab (and the same UserControl), but putting  different 
 value in session type operation. (insert, update, find,delete).

From masterpage get the value of the menu and set the session and call the tab.

The tab invoke the method SetFormatRadGrid (session ["tipooperazione"]. ToString ())

and I see the value of the session properly updated.
  but the RadGridthe screen is still shown as the first
(step back)


So the fisrt time it works, then the second time since the UserControl is already present in the viewstate on the client doesn't update.

while on the server (whith debugging) I see the correct values â€‹â€‹in the code of the UserControl tab.

P.S.

if I add,in the ascx, override OnInit event and  invoke the radgrid.Rebind() method  it works... but this is not good solution.

Please
Help
 me 

Dimitar Terziev
Telerik team
 answered on 28 Nov 2011
1 answer
111 views
Is there a way I can set a css-class for a single menu-item based on the webpage url? (Maybe when the menu is generated?)
The menu is generated from a database.

Example:
If url = www.domain.com/page.aspx?id=1 then I would like menuitem "Menuitem1" to have a red font color. And if url = www.domain.com/page.aspx?id=2 then I would like menuitem "Menuitem2" to have a red font color.

Best regards,
Lars
 
Kate
Telerik team
 answered on 28 Nov 2011
12 answers
1.1K+ views
Hi, Telerik,
I'd used code at this link: http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/treeviewcombobox/defaultcs.aspx to create a ComboBox with TreeView inside. (Load Category Table from Database)
But I don't know how to set the default selected value for this RadComboBox when page was loaded.

Ex: Something like this:
Dim myRadComboBox As RadComboBox
myRadComboBox.Selectedvalue = "My Node ID"

Thanks for your support.
Mehrdad
Top achievements
Rank 1
 answered on 28 Nov 2011
1 answer
72 views
We are changing to cookieless session, so the URL has changed for each page with the new session id
<sessionState timeout="120" cookieless="true" regenerateExpiredSessionId="true"/>

Suddenly the second tabstrip is not displaying on our 2 pages with a second tabstrip. First/top strip seems okay.
But tracing through the load there is no activity on the 2nd tabstrip (does not hit preRender or dataBound)

I've seen posts that FindTabByUrl may need to use an additional function around the URL:
Response.ApplyAppPathModifier(Request.Url.PathAndQuery)

but I am not using FindTabByURL anywhere except there is a reference to it in the Telerik.ui.xml.
Could that be it? 

Has anybody else moved to cookieless and seen this disappearance ?
Dimitar Terziev
Telerik team
 answered on 28 Nov 2011
1 answer
72 views
Dear friends,

I have a tabstrip with two tabs. The two tabs are loading ascx too. I need to have the databinding in second tab to call as a last step after everything finishes.

Is there a way we can stipulate this?
Kate
Telerik team
 answered on 28 Nov 2011
3 answers
106 views
I have a RadGrid with a detail table in it. The detail table uses an objectdatasource which requires 2 parameters. The first parameter gets value from a HiddenField control outside of the grid, and the second parameter is the datakey of the master table of the RadGrid. This structure worked fine always, just found out it stopped working today. I haven't touched this page for ages so there shouldn't be any "new code" that broke this. I have upgraded my telerik controls from 2009 to Q1 2010 version recently. Is it possible that this upgrade caused the problem? Hope somebody has come crose similar issues, thanks.
Princy
Top achievements
Rank 2
 answered on 28 Nov 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?