Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
115 views
Hi,

I want my page to respond differently when it has been loaded in a RadWindow. How do I test Server side (e.g. Page_Load event) if the page is opened in a RadWindow?

Kind regards,

Jurjen Ladenius
dany7487
Top achievements
Rank 1
 answered on 20 Sep 2008
2 answers
174 views
I would like to change the format of the column header, from SMTWTFS to Sun, Mon, Tue, etc. If I change the ColumnHeaderText to "ddd" which if it were to use the date format would give me the expected result, however, all it does is replace all the headers with what I give it. It agrees with the documentation but I fail to see how this is useful? Thanks.
Peter Zolja
Top achievements
Rank 1
 answered on 20 Sep 2008
1 answer
73 views
I am currently working on the back end of a shopping cart which is going to have multi languages.It can be see here
www.jlsmedia.com/xxxx/xxxx
username: xxxx
password:xxx

If you click on The categories button then edit a category you will see at the top is the language dependent section and the bottom is stuff that the the same no matter what the language is. Right now i only have 2 tabs but if you go to the languages section you can add more languages which will add more tabs.

My first issue was how to get the values from the tabs which are both the same the same control form just named different so all the elements get different names.
I used a FindControlRecursive function to find the controls ids i was looking for then getting all the values that i needed by request.form(elementid). This worked for everything but the editor. I figured out that the editor does not even post to a hidden text box so i read up some more and found the getHtml() function.
Next what i did was i passed the ids of both my rad controls and my textboxholder controls to the main page to write out some javascript that will run on submit. I am not getting any javasript errors but i am also not getting any results from the editor to post to the text box so that i can retrive the value.
My javascript is as follows.
function SycEditor(){ 
            CategoryLanguageHTMLIDS = CategoryLanguageHTMLIDS.split("|"); 
            ContentHolderTextBoxids = ContentHolderTextBoxids.split("|"); 
            for (f=0;f<=2;f++){ 
                var editor = $find(CategoryLanguageHTMLIDS[f]);  
                var theSelectionObject = editor.getSelection(); 
                var theSelectedText = theSelectionObject.getHtml(); 
                $(ContentHolderTextBoxids[f]).value = theSelectedText; 
                alert(theSelectedText + "heres my text"); 
                alert(CategoryLanguageHTMLIDS[f]); 
            } 
        } 

 Anyone know why it is not working or another way i can get all the values from all the pages i need?

Thanks

chris
Top achievements
Rank 1
 answered on 20 Sep 2008
0 answers
69 views
hi,
i want to use HttpModule for compression Response to client , and did not properly work with RadPanelBar and RadWindow And RadUpdate.

please help me.
Reza
Top achievements
Rank 1
 asked on 20 Sep 2008
6 answers
460 views
So - I understand that this version of RadControls requires AutoPostback to be set to true in order to fire OnSelectedIndexChanged.  However, this isn't always what you want.  With a 'regular' dropdown control, you might have multiple controls on a page and a save button.  The dropdown controls could have Autopostback set to false, but when the save button caused a postback - the OnSelectedIndexChanged events would fire.

What is the suggested way to simulate this behavior with RadCombo?  It isn't always practical to cause a full postback on each change of a RadCombo control.  But you obviously need to know that a change has occured when you ultimately do postback.

Thanks
kith
Top achievements
Rank 1
 answered on 20 Sep 2008
10 answers
522 views
In my grid the column is formatted correctly as an integer.  However, when an export to excel is performed the column shows up as a decimal.  How can I format the column to export the same as it is displayed in the grid?

Thanks!
Mike
Top achievements
Rank 1
 answered on 19 Sep 2008
1 answer
94 views
what might be some of the area's to look for - the grid groups perfect - love it, i have by default the groups collapsed - when i try to expand them - it takes a good 10-12 seconds before the grid collapses or expands.

what might i being doing wrong.

the grid is bound to a sqldatasource that calls a storedprocedure - the sql datasource mode is dataset

locally it works like the cats meow - but on the server it is sluggish - i've moved the grid inside a radajax panel, a regular ajax update panel and out of one altogether - still seems slow as if it's making a connection to the db each time.

thanks for all the past support.

Jeff
Jeff
Top achievements
Rank 1
 answered on 19 Sep 2008
8 answers
182 views
I have a PanelBar control on the master page for navigation.  The PanelBar has 2 root items.  Both root items each have 1 child item.  Both child items contain 1 TreeView control each.  The PanelBar's ExpandMode="FullExpandedItem".

Here's my situation.  Let's say a user selects one of the PanelBar's root items.  The associated TreeView control will get populated with completely collapsed nodes and only one of the PanelBar's root items is visible at a time.  When the TreeView gets expanded enough that it's height is greater than the height of the PanelBar, a scrollbar will appear on the righthand side of the control and the user can scroll all the way down to see the bottommost nodes of the TreeView.  When the user expands another treenode, the scrollbar shoots up to the top of the PanelBar in it's original position.

What I want to be able to accomplish is to capture the position of the scrollbar after it has been moved and then set that same position on the reload of the page after the postback such as expanding a treenode.

How can I accomplish this?

I've had success with just a DIV tag and the TreeView, but I'm stumped how to accomplish this functionality with the PanelBar control. 
Rob
Top achievements
Rank 1
 answered on 19 Sep 2008
2 answers
102 views
when decreasing the zoom in IE7 the 3rd level items in a Menu do not show up. This can be seen on the demos: http://demos.telerik.com/ASPNET/Prometheus/Menu/Examples/Appearance/Skins/DefaultCS.aspx

Is there a fix for this?
Alex
Top achievements
Rank 1
 answered on 19 Sep 2008
2 answers
100 views

Hi,

 I would like to save the filter expressions and the sort expressions of my detail tables in my RadGrid so I could reload them when I come back to the page.

 I use SqlDataSource and this :
 http://www.telerik.com/help/aspnet/grid/grdsavingsettingsonperuserbasis.html

It's working for my MasterTableView but when I'm looking for my detailTables :
gridInstance.MasterTableView.DetailTables(0).FilterExpression it has no value (but the filtering of the detailTables is working)

I would like to know where the can I get the filter expression of my DetailTables so I can save it.

Thanks
Francis
Francis
Top achievements
Rank 1
 answered on 19 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?