Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
172 views

Hi,
We have 2 problem in RadScheduler after upgrade Telerik.Web.Ui.Dll from Q1 2008 to Q3 2008.

One of Appointment template:
Using class='appointmentType<%# Eval ("App") %>' for change background-color with css, Q1 2008 change all appointment background but Q3 2008 using skin appointment style and change only upper row background color.
May be this is a bug.

Other is about styling:
How can i change "All Day" and HoursPanels text-align (to center or right) and font properties. (I don't want bold fonts at app.)

Thanks for your help,
Volkan
[artibir]

Kamen Bundev
Telerik team
 answered on 16 Mar 2009
2 answers
153 views
Hi Telerik,
I have a grid with a dropDownColumn:
<telerik:GridDropDownColumn DataField="bitPRI" HeaderText="bitPRI" SortExpression="bitPRI" 
                            UniqueName="bitPRI" DropDownControlType="DropDownList" ForceExtractValue="Always"
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" /> 
                        </telerik:GridDropDownColumn>

I must populate manually the dropdown every time I enter to edit mode. So I populate it manually, but before that I want to save the selected value so I can focus on the selection in the drop down again.
This is two methods I tried BEFORE I re-populate the dropdown:
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) 
        { 
 
 
            if (e.Item is GridEditableItem && e.Item.IsInEditMode) 
            { 
                GridEditableItem eeditedItem = e.Item as GridEditableItem; 
                GridEditManager editMan = editedItem.EditManager; 
 
GridDropDownListColumnEditor editor_bitPRI = (GridDropDownListColumnEditor)(editMan.GetColumnEditor("bitPRI")); 
                GridDropDownColumnEditor editor_bitPRI_TEST = (GridDropDownColumnEditor)(editMan.GetColumnEditor("bitPRI")); 
System.Diagnostics.Debug.WriteLine(editor_bitPRI_TEST.SelectedValue); 
System.Diagnostics.Debug.WriteLine(editedItem["bitPRI"].Text); 
DropDownList editor_bitPRIeditor_bitPRIComboBoxControl = editor_bitPRI.DropDownListControl; 
System.Diagnostics.Debug.WriteLine(editor_bitPRI.DropDownListControl.SelectedValue); 
 
 
 
none is showing the correct selected value. Keep in mind that before I re-populate the combo, the items count is 0. But I still want to retain the last saved value!
Hk
Top achievements
Rank 2
 answered on 16 Mar 2009
3 answers
219 views
Dear Friends,

I am new to RadControls and have minimum understanding of the same. I have been trying to learn the tricks for the last few days (5) and know a few bits.

But it seems a lot of effort will be required to have a working knowledge and I am ready to do the same.

i am trying to do something for which I could not find an appropriate solution on the net and with my basic understanding I am frustrated.

The problem is listed below with all the table structures.

CREATE TABLE [dbo].[tblRegion] (
 [AutoID] [int] NOT NULL ,
 [RegionID] [int] NOT NULL ,
 [RegionName] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
) ON [PRIMARY]

CREATE TABLE [dbo].[tblCountry] (
 [AutoID] [int] NOT NULL ,
 [CountryID] [int] NOT NULL ,
 [CountryName] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
 [RegionID] [int] NULL ,
 [RegionName] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
 [TimeZone] [nchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
) ON [PRIMARY]


CREATE TABLE [dbo].[tblCity] (
 [AutoID] [int] NOT NULL ,
 [CityID] [int] NULL ,
 [CityName] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
 [CountryID] [int] NULL ,
 [CountryName] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
) ON [PRIMARY]

CREATE TABLE [dbo].[tblLocation] (
 [AutoID] [int] NOT NULL ,
 [LocationID] [int] NOT NULL ,
 [LocationName] [int] NOT NULL ,
 [CityID] [int] NOT NULL ,
 [CityName] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
) ON [PRIMARY]

The heirarcy is like this Region is on the top, Country belongs to a Region, City belongs to a Country and Location belongs to the City.

We will focus only on the Country table.

My problem is as given below:

I want to use only webservices or page methods for the solution.

I want a RadGrid to display maximum 10 countries with custom paging.
i want the sorting feature only in the Region Name and Country Name not in all the columns of the table.
I want a search feature only on the Country Name column and not all columns of the table.

I want the Insert and Edit mode using templates.
For the region it should be a RadComboBox which should be able the pass the Value and Text of the RadComboBox.
Same for the Country.

All of the above feature should be achievable using only Web Services or Ajax calls.

I tried a lot to achieve the same but failed to reach anywhere.

If any of the forum member would be kind enough to give me a solution it will be a great booster to my confidence.

Thank you
Warm Regards
Madhu Menon
Sebastian
Telerik team
 answered on 16 Mar 2009
9 answers
314 views
I am looking the "External Edit in RadWindow" sample and I think there is some code missing. Where do i can find the whole package ?
David Penny
Top achievements
Rank 2
 answered on 16 Mar 2009
4 answers
92 views
Hiya,

We are using a RadGrid with an EditForm with a RADCalendar this is embedded within a RADMultipage. When the calendar icon is clicked the calendar does not pop up.  If you manually type a value, this is not stored.

If I take the item out of the multipage all is fine.

Any ideas?

Ta
Paul
Telerik team
 answered on 16 Mar 2009
5 answers
279 views
Hi all,

I am looking for a way to have links in the Preview mode open in a new window.  I don't want it to change the content that gets submitted, just what is being displayed while in Preview mode.  Right now, if I click on a link in preview mode, it will redirect my editor pane and then I lose all the un-saved content.

I found some old threads from over a year ago about implementing a custom dialog box, etc...   Hopefully there is some other solution now because that is more than I really wanted to get into.   I'd like for something to just work with the 'Preview' button beside the HTML and Design buttons at the bottom of the editor.

Thanks,
Shawn
Rumen
Telerik team
 answered on 16 Mar 2009
2 answers
211 views
Hello,

Is it possible to postback using __doPostBack("<%= rts.UniqueID %>", "0");  ?  I'm trying to do this, but no luck; it doesn't post back to the server and fire the TabClick event.

I guess I should explain what I'm trying to do.  I want to tap into the TabSelecting client event and TabClick server event.  If the user has saved all of the changes on the page, I want to allow the postback to happen (which I setup using AutoPostBack).  But if the user shouldn't continue, I want to cancel the post back and tab change.

The tab structure is simple: 3 tabs, but I can't get both these interactions to work.  Any ideas?

Thanks.
Paul
Telerik team
 answered on 16 Mar 2009
1 answer
199 views
Hello,

I just got the client-side binding feature to work well using a web service.  That's all good.  But, the issue is I have some template fields that are not being bound; I only see the controls that use the GridBoundColumn and not the GridTemplateColumn (those are the only two I am using).  Is there some trick to this?

Thanks.
Vlad
Telerik team
 answered on 16 Mar 2009
1 answer
146 views
I am putting months on my x-axis and am trying to step month to month. I tried putting step = 30 and 31, but over a period of years (with scrolling) it becomes off. Is there a special step feature for months, or a way to make it variable?
Ves
Telerik team
 answered on 16 Mar 2009
1 answer
91 views
Hi,

I want to group the records in radGrid upto 5 levels as follows:

level 1 : A
            Level 2 : B
                            Level 3 : C
                                            Level 4 : D
                                                            Level 5 : E
                                                            Level 5 : EE   

            Level 2 : B
                            Level 3 : C
                                            Level 4 : D
                                                            Level 5 : E

How could I do this ? Can any one provide a sample ?


Thanks,
Vlad
Telerik team
 answered on 16 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?