Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
170 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
107 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
126 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
514 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
266 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
3 answers
241 views
I'm investigating migrating from the RadUpload control to the RadAsyncUpload tool and am seeing some weird behaviors.

I have a RadAsyncUpload control on my web page and I've customized the TemporaryFolder in the Page_Load. I've also set up the OnFileUploaded method to do some custom work because we want to store a record of the file in our EFile database.

When I do a postback ... the OnFileUploaded method fires and I can see that the e.File.GetName() method returns the correct name of my file but if I'm monitoring the TemporaryFolder -- the file name appears as names like "25j2deve.qc3" and "y20yq3q3.nz1". So then when my code goes to move the file from the TemporaryFolder to our own internal EFolder -- I keep getting the file does not exist because I'm trying to move it based on a file name from the e.File.GetName() method.

I'm also confused by the documentation/tutorial because it uses a function to set the e.IsValid. The function is called CheckUploadedFileValidity().

Where is that function? Is that something I need to write on my own? Is that built into a Telerik library somewhere?

Do I need to be using the .SaveAs() method here like we did in the RadUpload tool? All I want to do is get a file into the temp folder and then I'll move it to the final location from there.

e.IsValid = !CheckUploadedFileValidity();



Plamen
Telerik team
 answered on 04 Mar 2013
1 answer
81 views
Hello,

Could someone confirm me that this issue still persist and I should go with the workaround suggested in the below thread.

http://www.telerik.com/community/forums/aspnet-ajax/docking/raddock-resizing-problem.aspx

Thanks,
Ramesh
Slav
Telerik team
 answered on 04 Mar 2013
5 answers
1.0K+ views
http://www.telerik.com/community/forums/aspnet-ajax/ajax/showing-border-for-radgrid-columns.aspx

Currently I want to use the WebBlue skin on my grid, but instead of having alternating colors I want a pure white grid with a few vertical black lines about every four columns.

The given example I found allows me to override the entire grid to make it all white, but when I try to set the CssClass in the ItemStyle of the GridBoundColumn nothing happens. I look in the source of the page, and it is there (on the <td cssclass="LeftBorderBlack">), the link for the css is there. I can't figure out for the life of me how to get some columns to have a border style on the left side, and all others to have none.

Any help is greatly appreciated. Thanks :)
Maria Ilieva
Telerik team
 answered on 04 Mar 2013
0 answers
73 views
Hi ,

I  use calender webpart in RadTabStrip, but when i add an item to calender , item  does not look properly. My item is on 28th day of month, but it  looks on top of the calender. How can i fix this problem?
Duygu
Top achievements
Rank 1
 asked on 04 Mar 2013
1 answer
55 views
Please review the attached image
Why radgrid generates such string after I press sorting or paging control??
Jayesh Goyani
Top achievements
Rank 2
 answered on 04 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?