Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
77 views
In FF3 or IE8, starting with both Default and Simple, you can't change the background image, and you can't enter a line-height that isn't in the list. That last point might be by design, but since the paddings can't actually be changed, I was hoping I could fake it with a big line-height.

Should I wait for a new version? Honestly, I'm finding more things that don't work than do.
ATS
Top achievements
Rank 1
 answered on 15 Jun 2009
16 answers
112 views
Hi all

A strange one.

When I click anything on the scheduler a 2nd time I get this error. The first click is fine and works but the second clicks fails everytime.

HTTP Error 403.14 - Forbidden


Any ideas?
Joe
Top achievements
Rank 1
 answered on 15 Jun 2009
1 answer
168 views

I am creating a variable number of RadGrids dynamically in code.  Everything is working fine and as expected, except this one thing.  I am trying to override the font for a particular column:

GridBoundColumn codeCov = new GridBoundColumn();  
                codeCov.ItemStyle.Font.ClearDefaults();  
                codeCov.ItemStyle.Font.Names = new String[] { "Webdings2" };  
                codeCov.HtmlEncode = true;                  
                codeCov.HeaderText = "Code Cov";  
                codeCov.DataField = "IsCodeCov";  
                codeCov.ItemStyle.HorizontalAlign = HorizontalAlign.Center;  
                codeCov.HeaderStyle.HorizontalAlign = HorizontalAlign.Center;  
                rg.Columns.Add(codeCov);  
 

The cell is being serialized correctly (I think):

<
td align="center" style="font-family:Webdings 2;">
P</td>
(This should show up as a check-mark)

Yet the font is not displayed in the Webdings 2 font on the web page.  I wonder if the style for the row is overriding the cell?

The page contains a RadSkinManager and the skin is set to Web20.

Appreciate any help you can provide.

Regards,
Louis
Louis
Top achievements
Rank 1
 answered on 15 Jun 2009
2 answers
90 views
I just changed the background image on the RadPanelBar Root Items, which worked fine. But then I tried to adjust the padding on the Root Item Text Wrappers, and that didn't work at all. Not only can you not type in the boxes (you have to use the mouse to cut/paste), but nothing happens when you enter them. If you leave the screen and come back, padding and margins and such are changed back to the default values. I tried it on a few different elements, using both Default and Simple styles as the base. Is this feature not yet implemented? Because it's one of the main points in the introduction text. I've tried it in IE8 and FF3.
ATS
Top achievements
Rank 1
 answered on 15 Jun 2009
0 answers
135 views

Hi there,

I am using the drag and drop behaviour of the treeview and want to use the client side calls to move nodes using "OnClientNodeDropping". The issue with this is that the server side event "OnNodeDrop" is not firing and so my changes are not persisted to the database. 

Is there an easy way around this? Am I doing something wrong or do I simply need to use an update panel and accept the update lags?

Thanks in advance

Steve
 

 

MakeMedia
Top achievements
Rank 1
 asked on 15 Jun 2009
1 answer
110 views
Hi There,

Is there a way to only allow a certain amount of records to be added using a Radgrid?
Say a user can only add a max of 10 records within the grid.

Thanks.
Daniel
Telerik team
 answered on 15 Jun 2009
0 answers
98 views
Hi,
I am trying to use values from the Resource file to populate  NavigateURL, ToolTip and Text attributes for RadMenu.

The "ToolTip" and "Text" are parsing the Resource file values correctly but the NavigateURL is not parsing the values at all.
 
I am using the following code:

<telerik:RadMenu ID="RadMenu1" runat="server" Style="float: none;" >
                                                 <Items >
                                                        <telerik:RadMenuItem NavigateUrl="gatashomepage.aspx?P=<%$Resources:GlobalResource, MasterMenuItemHomePage%>" Text="<%$Resources:GlobalResource, MasterMenuItemHomePage%>"  ToolTip="<%$Resources:GlobalResource, MasterToolTipHompePage%>"  >
                                                            <Items>
                                                                <telerik:RadMenuItem  NavigateUrl="MyPreferences.aspx?P=<%$Resources:GlobalResource, MasterMenuItemMyPreferences%>"  Text="<%$Resources:GlobalResource, MasterMenuItemMyPreferences%>" ToolTip="<%$Resources:GlobalResource, MasterToolTipMenuItemMyPreferences%>"   />
                                                                <telerik:RadMenuItem  NavigateUrl="logout.aspx"   Text="<%$Resources:GlobalResource, MasterMenuItemLogout%>" ToolTip="<%$Resources:GlobalResource, MasterToolTipMenuItemLogout%>"  />
                                                            </Items>
                                                        </telerik:RadMenuItem>
                                                    </Items>
                                            </telerik:RadMenu>

Thanks
Tapinder

Tapinder
Top achievements
Rank 1
 asked on 15 Jun 2009
1 answer
148 views
Hi

If I use an EditFormTemplate within RadGrid with a non-English culture connected to an ObjectDataSource I cannot update values of decimal type.

The error message I recieve is as follows:
Cannot convert value 3,45 to type Decimal.

The problem (as far as I can see) is that the RadGrid ignores the culture settings that I have set for my asp.net page.
Instead of 3,45 RadGrid awaits 3.45.

I didn't find a property like Culture within RadGrid to finetune this process.

Can you please help me out ?

Thanks.
Veli
Telerik team
 answered on 15 Jun 2009
1 answer
176 views
Hi,

I've placed a scheduler component on my form which uses webservices to populate the scheduler's appointments. Now I want to be able to select the resources I do or don't want to see in the scheduler. The resource population is set to take place serverside, but offcourse it still uses the webservice call to get the actual resources.

I've implemented my own provider to get the resources from my database using Linq. So I now need a way to pass my filter options (which resources should be retrieved) to that function, but I can't find a way to do so.

I've found this post: http://www.telerik.com/community/forums/aspnet-ajax/scheduler/service-and-grouped-views.aspx which is almost what I want. For some reason, I can't cast the SchedulerInfo object to my own custom SchedulerInfo object and thus not read the extra properties I fitted in there. And the only thing the webservice does is transfer the call to the GetResources function of my controller, which ultimately leads to a call of the GetResourcesByType function on my provider. That last one only has the grid and a resourceType string as parameters, where did the SchedulerInfo object go?

So I have two problems:
1) Why can't I cast the SchedulerInfo object to my own SchedulerInfo object
2) How should I pass the filter options to the actual GetResourcesByType method? I thought about temporarily storing them in a static class, but I wonder whether there isn't a better option.

Kind regards
T. Tsonev
Telerik team
 answered on 15 Jun 2009
1 answer
84 views
I have a FormTemplate with my own Update and Cancel buttons. When the user clicks on the Cancel button, the server-side ItemCreated event gets fired. Although firing this event might be part of the page life cycle, I still would like a way of knowing that the FormTemplate was canceled. If I cannot know that it is canceled, code within my ItemCreated event gets executed and I need to avoid this because certain controls during an edit would get set to a bound field but during a cancel, these fields are no longer available. But a more obvious reason I want to skip my code in the ItemCreated event is simply because it makes no sense to execute it when the FormTemplate is closing due to the Cancel button being pressed. Executing that code is wasted performance on the server-side. The IsInEditMode property returns true even when I cancel the FormTemplate, so I have no way of knowing whether I am in edit mode or cancel mode.
Polaris431
Top achievements
Rank 1
 answered on 15 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?