Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
122 views
Hi
I have a reset button on a form with the following client-side code to clear the grid:

var view = $find('grd').get_masterTableView();
view.set_dataSource([]);
view.dataBind();


This works great but the NoMasterRecordsText is not shown on reset. This is set as follows in the MasterTable view:

ShowHeadersWhenNoRecords="true"
NoMasterRecordsText="No data available matching the supplied search criteria."

Perhaps somebody could shed some light on how to achieve this

Regards

Daniel Affleck
Daniel
Top achievements
Rank 1
 answered on 04 Mar 2013
4 answers
139 views
Are there any plans to make the rotator touch enabled?  

All of my customers expect touch enabled components, especially for this type of control.

Thanks, Marty
moegal
Top achievements
Rank 1
 answered on 04 Mar 2013
1 answer
48 views
Hi - i have a requirement very similar to what is achieved in http://demos.telerik.com/aspnet-ajax/listview/examples/itemdragdrop/defaultcs.aspx.

However, the main difference in my case is that the control to which i would drop my items (equivalent of Genre list shown in the right in the above link) is located in the master page and my list view is located in the content page.

When i drag the listview item onto the masterpage control, the destination is null. I used 
args.get_destinationItem()
in
OnClientDropped
event to get the destination item. If i drag the listview item onto any other control in the same page, the destination gets the proper value.

Is there a work-around to this problem. Am i missing something here?

Thanks.
Pavlina
Telerik team
 answered on 04 Mar 2013
7 answers
270 views
Hi,
I've recently upgraded my application to telerik version 4.0 and noticed that the style of my application combobox automatically changed.
I'm using "Vista" skin and apparently they've changed it in the core so now it's different

OLD VERSION Style


NEW VERSION Style


Is the old skin still available or is it anyway to apply the same settings manually?

Thank you in advance,

Marcelo
Helen
Telerik team
 answered on 04 Mar 2013
3 answers
542 views
Is it possible to load an Xml file into a RadGrid for web display purposes. I tried loading an xml file into a DataSet and assigning that to a RadGrid's DataSource but it only displays one level.

I will not know what the content of the xml files will be so can't specifically add fields to the grid ect.

Is this possible?
Radoslav
Telerik team
 answered on 04 Mar 2013
4 answers
179 views
Good day!

Is there any way that the scroll position be synced between schedulers? The application I'm creating has multiple schedulers, side-by-side, but I only want to show the hours column for the first one to save space, but the height of the scheduler exceeds the browser window, so a scroll bar is shown for each. Each scheduler is in a RadPane.

Thanks.
Plamen
Telerik team
 answered on 04 Mar 2013
2 answers
113 views
Afternoon,

The problem I am having is that I have  a hierarchical radgrid inside of an updatepanel, with the grid set to HierarchyLoadMode="ServerBind".  When I have the grid start out with expanded rows, images that are loaded into the grid are inserted properly as follows:

The grid puts "true" or "false" into the cells, and then in ItemDataBound those values are removed for a checkmark or an x (for true or false, respectively).  When the page posts back, some of the grids update to show images, other do not.

The reason that I am doing HierarchyLoadMode=ServerBind is because I need to get a total count of the items that will be in the grid, and I get that count by going across the items in the grid and for each that is a chlid item I increment a count.  If there is a handier way to do that, I would also be amenable to switching HierarchyLoadMode to ServerOnDemand or something.  I need a count of the items in the grid and it has to be correct regardless of the expand/collapsed state of the items.  When I had ServerOnDemand and the rows started collapsed (a requirement), the count of the child items came to 0 each time, even if there were items in the grid.  I currently get the count of the items in the Page_PreRender event, when all the grid bindings have been completed.

Any ideas?  Can I count the items in the grid in some other way than going across rows in Page_PreRender? If not, is there a way I can set the AJAX to load images in upon expansion of the rows, as is currently not happening?

Thanks very much,

Kaleb

EDIT:  The update panel has UseChildrenAsTriggers="true" and UpdateMode="always"
Radoslav
Telerik team
 answered on 04 Mar 2013
1 answer
133 views
Hi everyone,

I'm hoping someone may know how to do this.

I took the jewelry sample from the demo site and customized it slightly so that I could have it work with my demo. Nothing major at all, just size and placement.

But I was wondering about, depending on a value within the XML, if I could switch the side of the screen that it appears on?

So I set up the ticker to display on both the left and right side, no issues, they both behave exactly the same.

What I was hoping is that I could set the visible property for the ticker based on an entry in the xml data file.

Here's what I was hoping to do:

<

 

 

telerik:RadTicker ID="RadTicker2" runat="server">

 

 

 

<Items>

 

 

 

<telerik:RadTickerItem Text='<%# XPath("Title")%>' Visible='<%# XPath("LeftSideVisible")%>></telerik:RadTickerItem>

 

 

 

</Items>

 

 

 

</telerik:RadTicker>

And my xml entry looks like this:

 

<

 

 

NewsItem>

 

<

 

 

Title>

 

 

 

 

 

This option shows what it would look like if the left of the image was blank (for demo purposes)

 

 

 

</

 

 

Title>

 

<

 

 

Image>Images/Testing/Splash-Test-1.jpg</Image>

 

<

 

 

ItemName>Images/Testing/Splash-Test-1.jpg</ItemName>

 

<

 

 

URLIcon>Images/Testing/demo-info.png</URLIcon>

 

<

 

 

URL>~/AboutUs.aspx</URL>

 

<

 

 

bool name="LeftSideVisible">true</bool>

 

<

 

 

bool name="RightSideVisible">false</bool>

 

</

 

 

NewsItem>

 



But when I do this I a type mismatch thrown by the ticker.

Any ideas as to how I can do this? I'm open to any suggestions :)

Thanks,
Jon
Slav
Telerik team
 answered on 04 Mar 2013
3 answers
541 views
I would like to have the grid automatically add a new row when the user presses "Tab" from the last cell in the last row of the grid.

For example:
1. Focus is given to the top-left cell in the grid.
2. Grid is displayed with deafult empty rows(e.g. 5 ) and user can add new data in textbox / dropdown
3. User can navigave row cells but pressing "tab"
4. after last row last cell  "Tab" create new emapy row in grid.
5. also allow to create row from "Add row button".
6. at the end user can save all row data
(Featue like word table after end tab create new row...)

Any ideas on how to make the grid keep adding more rows automatically?

http://www.telerik.com/community/forums/winforms/gridview/automatically-add-new-row.aspx
looking for same solution but in asp.net ...

Thanks
Tejas
Madhu
Top achievements
Rank 1
 answered on 04 Mar 2013
3 answers
276 views
Hi,
i have a RAD Menu control implemented on my ASP.Net web app. the control is being populated dynamically from database and i have a scrolling buttons on each side of the control (given width to the control in order to get the scrolling buttons). the problem i am facing is that when i scroll to the near end of the menu and click on any item, the menu defaults to the first item and i cannot see the selected item on the page. i have to again scroll to the end to see what the item was selected.
is there a way i can set the selected item on the menu visible and stop the control from scrolling it to the beginning?
Kate
Telerik team
 answered on 04 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?