Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
256 views
Hi,
Is there a way that I can change the orientation of the scheduler? Instead of displaying the hours from top to bottom in the left column, I like to display the hours in the top row from left to right.

This would make the scheduler great for viewing all resources.

thanks
Peter
Telerik team
 answered on 28 Oct 2008
1 answer
103 views
Hi,

I am going to be developing a usercontrol that has a treeview in it. Are there any articles that discuss how LINQ can be used to databind records to a treeview.

Thanks in Advance.
Anshul.
Veselin Vasilev
Telerik team
 answered on 28 Oct 2008
0 answers
82 views
i have to do some functionality that need to work with sessions.

can anyone tel me how to set the session["Row"] in method  on Row Click,

so that on server side i can get the value and fulfil the desired work.

var row = <%= Session["Row"] %>" ;  this get the inital value

but i want suggest to set the session vaiable on client side so that i update next time in

page load function.

mano
Top achievements
Rank 1
 asked on 28 Oct 2008
2 answers
95 views

i have a templete column in which asp image is placed. i want the following functionality:

When the onclick is fired,

1) first the icon is changed
2) that row in which the icon is placed is deleted on next refresh.

how can i mark the row in onclick event?? so that i can delete it next it. plz help

mano
Top achievements
Rank 1
 answered on 28 Oct 2008
1 answer
161 views
i want to create a dynamic report  that has the same Hierarchy with DetailTableDataBind event format but with different data. using store procedure to get the datas, how do i specify the mastertableview,detailview and column, and how do i do all of this in the server side. Plus how do i export all data on this to excel.

so if i have table call student
name     address      shoes         shirt     zip  city state size

i want name to be master,address to be detail, shoes to be detail again

so if a user select a report call student it will get the above info and generate a Hierarchy with DetailTableDataBind event with the above info.

if a user select grade report, it will select info from grade table
level     class      test      number
and level will be master, class will be detailtable.

and so on. could i do all this on server side and i want to be able to say e.detailtableview.datasource = "exec storedprocedure ......"

thank you very much for your help . i really appreciate it.
Princy
Top achievements
Rank 2
 answered on 28 Oct 2008
6 answers
159 views
hi
i am having problem in rad editor in rad controls ajax clr2.0 Q2
image manager is disabled

i hav done all which is mentioned in
http://www.telerik.com/support/kb/article/b454K-gda-b454T-btc-b454c-btc.aspx

but image manager is still disabled

my code is

<telerik:RadEditor ID="RadEditor1" runat="server" AllowScripts="True" Skin="Telerik" 
                Height="474px" Width="658px" ToolsFile="Controls/SomeTools.xml"> 
     <Content> 
     </Content> 
     <ImageManager UploadPaths="~/Images/" ViewPaths="~/Images/" DeletePaths="~/Images/"  /> 
</telerik:RadEditor> 


plz help.
Rumen
Telerik team
 answered on 28 Oct 2008
3 answers
344 views
Hi,
I have a radgrid with like 5 columns and one hidden column(index 1).

When a conflict occurs, I will show the hidden column + the "image" in the hidden column.

Problem.  I have like 4 columns with predefined width, like 100px each, and one column with undefined width.
Something like this:
<telerik:GridBoundColumn SortExpression="name" DataField="enrol_stage_name" HeaderText="stages" Reorderable="False" HeaderStyle-Width="100px" ItemStyle-Width="100px"/>

When I show the hidden column using RadGrid1.MasterTableView.showColumn(index); similar to that from http://demos.mcmscontrols.com/aspnet/Grid/Examples/Client/ClientSideAPI/DefaultCS.aspx
Note:RadGrid1.MasterTableView.ShowColumn(index) does not work with the Uppercase "S" as shown in the link above.
It will cause the predefined columns to resize its width, those 100px columns, where I was expecting it to only resize the one column without the width defined.  It looks ugly now, plz help.

Grid width is set to 100%.

Cheers

Yavor
Telerik team
 answered on 28 Oct 2008
1 answer
200 views

Dear Support,

I'm having a little issue with the Ajax Manager.

With a button, I would like to dynamically add RadNumericTextboxes to a simple html table.
This is a fraction of the code:

        // click new row  
        protected void buttonNewRow_Click(object sender, EventArgs e)  
        {  
            // session  
            if (Session["rowCount"] == null)  
                Session["rowCount"] = 0;  
 
            // get int  
            int rowCount = (int)Session["rowCount"];  
            Session["rowCount"] = ++rowCount;  
        }  
         
        // load page  
        protected void Page_Load(object sender, EventArgs e)  
        {  
            // add 5 rows by default  
            for (int i = 0; i < 5; i++)  
                AddRow();  
 
            // add button clicked rows  
            if (Session["rowCount"] != null)  
            {  
                for (int i = 0; i < (int)Session["rowCount"]; i++)  
                    AddRow();  
            }          
        } 

Everything works fine, except... the first time I click nothing happens!
Is there any way to solve this issue? Or am I doing it totally wrong?
Vlad
Telerik team
 answered on 28 Oct 2008
1 answer
96 views
Hi,

I have a page with multiple charts. One chart has a drill down map, the others do not have any ActiveRegion information.  However all charts now point to the same map.  The html generated has:
<img ..... usemap="#mapid" ...

This is the same for every chart even those without drill down information.

If I turn session back on then the problem is resolved.

Is there any way I can work around this?   Force the generated html to NOT generate usemap="#mapid" ?

Thanks

Guido Tapia
Ves
Telerik team
 answered on 28 Oct 2008
8 answers
263 views
Hello,  are there any demos/examples of dynamically creating the pop-up edit form for a grid?  I found the demo for the pop-up edit form but the EditFormSettings tag is defined in the code front; I need to dynamically create the fields available for the user to edit.

Each record in the grid will have several "static" columns, but can also have other fields that will vary from user to user.  I'd like the grid to display just the static columns, and then clicking "Edit" will bring up a pop-up edit form with those static fields AND any dynamic fields available to the user.

If this can't be done with a grid could someone please suggest something that could handle this?

Thanks,
Aaron
Princy
Top achievements
Rank 2
 answered on 28 Oct 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?