Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
259 views
Hello,
    I have a page that has several dockable user controls on it, each one showing different information about a common object.
 
I am progromatically defining the control on the page in the codebehind as so:

Dim newdock As RadDock = CreateRadDock("Personal Info")  
newdock.Tag = "~/UserControls/EditContact/PersonalInfo.ascx" 
LoadWidget(newdock)  
Me.rdzEditContact.Controls.Add(newdock)  
 
newdock = CreateRadDock("Custom Fields")  
newdock.Tag = "~/UserControls/EditContact/CustomFields.ascx" 
LoadWidget(newdock)  
Me.rdzEditContact.Controls.Add(newdock)  
 
 

Is there a way I can pass the common object to each of these controls on the page?
Sophy
Telerik team
 answered on 15 Sep 2008
1 answer
250 views
We feel the RadToolBar is a bit too high.  How to change the height of it?  I am using RadToolBar in Server Control.  I can embed a CSS in DLL.  So basically I need to put something in the CSS which overrides RadControl's skin such as Default.
Thanks.

Shuqing
Yana
Telerik team
 answered on 15 Sep 2008
3 answers
145 views
Hello,

  I have been using the RadScheduler AdvancedEditForm and AdvancedInsertForm for the past  8 months.  It has become increasingly difficult to work within the confines of the templates as my needs have started to become more complicated. Is there a way to Implement the AdvancedInsertForm and AdvancedEditForm in a ModalWindow that will alllow for full AJAX interaction? Currently it appears that I have to force all my ajax requests within the template through client side AjaxManagerRequests due to scoping issues when using the templates. Thanks for your time.

Justin
Peter
Telerik team
 answered on 15 Sep 2008
1 answer
174 views

I am dynamicly creating foo columns to be added to the grid

I do it like this in Page_Load:

foreach
(Artikli artikal in a)
{
    GridNumericColumn gridColumn = new GridNumericColumn();

    this.RadGrid1.MasterTableView.Columns.Add(gridColumn);
    gridColumn.DataField =
"blank";
    gridColumn.HeaderText = artikal.Naziv;
    gridColumn.UniqueName = artikal.Id.ToString() +
"_blank";
    // gridColumn.Expression = " ";
}


Export in Excel (ML) will export existing columns and only first added column.
Excel html export exports all columns, but xls file looks better in excel. 
 
If I try to create GridCalculatedColumn instead of GridBoudCollumn, I rececive this error: 

GridException: Cannot create column with the specified type name: GridCalculatedColumn]
   Telerik.Web.UI.GridColumnCollection.CreateColumnFromTypeName(String columnTypeName) +1013
...
 
Any help?

Yavor
Telerik team
 answered on 15 Sep 2008
1 answer
75 views

Week numbers
Is there any build-in soltuion for adding week numbers as part of the month view

Start week
Is it possible to start the month view with with the current week at top

Simon
Telerik team
 answered on 15 Sep 2008
3 answers
125 views
When the html has a dir of rtl the tooltip does not appear at the correct position. It seems to jump to the very far left.

Is there an issue with rtl if so any ideas on a workaround.

Regards
Russell
Svetlina Anati
Telerik team
 answered on 15 Sep 2008
4 answers
172 views
 The code I use to populate the grid is:

   protected void users_grid_needData(object source, GridNeedDataSourceEventArgs e)
    {
        DataTable dt = MasterPage.executeSQLQuery("SELECT ps_userid, first_name, last_name, ps_usertype FROM ps_users");
        users_grid.DataSource = dt;
    }

This works fine when all the elements are of type "GridBoundColumn" but when I try to make the usertype into a GridDropDown column, it does not render anything.

I read http://www.telerik.com/help/aspnet-ajax/grdcustomizeconfiguregriddropdowncolumn.html

but I am still unclear about what dataField, listValueField, listTextField, and listDataMember should be set to.

Right now I have it as:

 <radG:GridDropDownColumn ListTextField="ps_usertype" DataField="ps_usertype"
                     ListValueField="ps_usertype" HeaderText="Group" UniqueName="Group">
                    </radG:GridDropDownColumn>

Thanks

Edit: I took out the code formatting because it displayed badly.
Yavor
Telerik team
 answered on 15 Sep 2008
2 answers
146 views
Hi,

Is it possible to display the unmatched value in the grid rather than empty text? For instance..

<

telerik:GridDropDownColumn HeaderText="Client" UniqueName="Budget_Client" DataSourceID="SrcForClient" DataField="Budget_Client" ListTextField="ClientName" ListValueField="ClientName"></telerik:GridDropDownColumn>


On the above code, I am binding a dropdown list to a object datasource. The problem is if DataField does not match item in the field, it display blank in the grid column. Ideally I would to have user see the original value (Data Field) before going to edit mode for selecting item in the dropdown list...

Any suggestion would be appreciated.

Thanks.
Milan G

Milan Gurung
Top achievements
Rank 1
 answered on 15 Sep 2008
1 answer
93 views
Hi,
 iam currently trying to implent 2 grids with googlefiltering in a multipage, but it always seems to overwrite the functions of the first grid when loading the second grid i already implemented a second mycustomfilteringcolumn2.vb class the strange is, that when i using

Me.RadGrid4.MasterTableView.Columns.Add(gridColumn4)

something causes a error message when i trying to filter in radgrid1 saying cannot create myfilteringcolumn2. Which is designated for radgrid4.

Hope you can help me
THX
Jens
Yavor
Telerik team
 answered on 15 Sep 2008
1 answer
148 views
I am using Q1_2007_SP2 Ajax RadControls for ASP.Net 1.1.  I am trying to add multiselect functionality to the grid via checkboxes.  I got it to work exactly as I wanted after I disabled all natural row selecting ability.  That caused the unintended side effect of having the dataGrid.Rows client side rows collection available.

Is there any easy way to get back the client RadGrid Rows collection without turning the RadGrid's natural client row selectability back on?
Yavor
Telerik team
 answered on 15 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?