Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
77 views
Hello - I am using RadControls for ASPNET AJAX Q2 2008.

After creating the App_GlobalResources folder for the website, I set forth
making a translated RadEditor.Tools.resx (RadEditor.Tools.nb-NO.resx).

This had the desired effekt of translating all the tooltips for every single tool,
but it had an unexpected side effect:

The dropdowns for font selection, font size, real font size and Paragraph style now
display my Norwegian tooltip-translations when the page is initially loaded:

"Font-navn", "Font-størrelse", "Ekte font-størrelse" and "Avsnittsstil".

So far, so good - but the moment I give focus to the editor - clicking on a tool or
in the text area, this happens:

FireFox 3.6 (Windows):
The dropdowns display "FontName", "Fontsize", "12px" and "Normal".
The first two dropdowns seem to change from displaying the norwegian translated
value of the nb-no.resx-file to displaying the corresponding names from the same file.
The last two dropdowns display the first item in their respective lists.

Internet Explorer 8:
The dropdowns display "Times New Roman", "3", "12pt" and "Normal".
Here all the dropdowns change to displaying the first item in their respective lists.

Safari 4.0.4 (Windows):
The dropdowns display "Times New Roman", "12px", "16px" and "FormatBlock".
A third variant.

Opera 10.00 (Windows):
The dropdowns display "Times New Roman", "3", "16px" and "Normal".
Yet another variant.

Why this erratic behaviour? Are there more .resx-files that need editing?
(I started out only intending to change the tool tips)

I hope can someone has a tip - it's probably just a minor adjustment that needs
to be done, but it's a tad annoying.





Rumen
Telerik team
 answered on 18 Feb 2010
1 answer
98 views
Hi

Can someone help here?..

Recently I have a strange error that I can't track down on a site that has been running for months.

I need to add a new page with a simple form with RadText boxes etc . I developed this on my
local development machine and it works fine, including the code behind form processing.

When it is published to the remote site I get a 404 error as if the page is not there, but I can
see that it is by logging in to the server (both page and code behind).

As part of the diagnosis I published a page with no controls on. Page is visible with no errors,
even though it uses an exisitng master page with Rad controls.

Then added a textbox in visual studio, and published that - get 404 error
and no other useful info.

The rest of the site with existing pages containing Rad controls is functioning normally.
I just can't seem to publish anything new with a Rad control on the page.

Help with diagnosing / fixing this greatly appreciated, as further devlopment has ground to a halt.

Thanks

Clive

P.S
local machine: VS 2008, windows vista, iis7, Rad Controls version 2009.2.826.35
Remote server is windows 2003, iis 6, same version of rad controls

Clive Hoggar
Top achievements
Rank 1
 answered on 18 Feb 2010
1 answer
96 views
How can I use a GridClientSelectColumn with a radiobutton instead of a checkbox?
Shinu
Top achievements
Rank 2
 answered on 18 Feb 2010
1 answer
179 views
I am trying to capture the key pressed in a RadComboBox and determine if it is upper or lower case. I used the following code just to see what I was getting back:
function ddAgents_KeyPress(sender, eventArgs) {  
    var TextIn = eventArgs.get_domEvent().keyCode;  
    var stop=1;  
I have this in there so I can put a stop on Stop=1 and mouse over and look at the value of TextIn. When I do this and run it, if I type a letter in, I will use the letter "g" as an example, the value of keyCode is the ascii value for the uppercase letter regardless of which is typed. So if I type in a "g", or a "G" either way the keyCode value is 71. what am I doing wrong? I have removed all styles though I have the Filter="StartsWith". Not sure if that could have anything to do with it or not, but if it does, I have no idea why. Any thoughts on why this is happening?

Here is my code where I setup the control just in case it helps:
<telerik:RadComboBox ID="ddAgents" Runat="server" Width="100px" AutoPostBack="true" OnSelectedIndexChanged="ddAgents_SelectedIndexChanged" Filter="StartsWith" OnClientKeyPressing="ddAgents_KeyPress">  
 




Veronica
Telerik team
 answered on 18 Feb 2010
1 answer
205 views
Hi Everyone,

I've got detail tables for my radgrid configured with the following hierarchy load modes:

MasterTableView - Server On Demand
  Detail Table View - Client
    Detail Table View - Not Specified (should be ServerOnDemand by default, right?)

All tables have ObjectDataSources declared for their DataSourceId.

Now, here's the funny behavior I'm seeing:
--If I expand a MasterTable row, the page posts back (per ServerOnDemand) and I see the first detail table.  Both nested detail tables are databound (due to client setting on the first nested detail table)
--If I expand another MasterTable row, the page posts back, and the first nested detail table is shown for each expanded row.  (in this case i'd see 2; one for the row expanded in step 1, and the one I just expanded
--if i expand the detail table view for the one in step 2, i see the 2nd nested table view.  the page doesn't postback, due to the client setting.  However, if i expand another master table row, the row with all levels expanded collapses down to only show the master table row.  If i only expand the master table row; the row doesn't collapse.

Weird, huh?  Any ideas on what could be going on here?
Pavlina
Telerik team
 answered on 18 Feb 2010
3 answers
104 views
I am trying to open a window from grid item to display additional info about the item.
To do that I need to pass the product name.

I am trying this, but at run time I get 'the tag is not well formed' .  

How can I do this correctly?

Thanks

Clive 

JAVASCRIPT  
 
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">  
    <script type="text/javascript" language="javascript">  
        function showWindow(url) {  
            var oWnd = $find("<%=RadWindow3.ClientID%>");  
            oWnd.setUrl(url);  
            oWnd.show();  
        }  
        function OnClientClose(oWnd) {  
            oWnd.setUrl("about:blank"); // Sets url to blank      
        }     
</script>   
    </telerik:RadCodeBlock> 
 
THE WINDOW  
 
<telerik:RadWindow ID="RadWindow3" runat="server"   
        Skin="Black" Behaviors="Move,Close,Resize" VisibleStatusbar="False"   
                    Animation="Fade"   
        IconUrl="~/images/favicon16.gif" Height="170px" Width="280px" 
                    OnClientClose="OnClientClose">  
                </telerik:RadWindow> 
 
 
THE GRID COLUMN  
 
<telerik:GridTemplateColumn DataField="Name"   
            HeaderText="Name" SortExpression="Name"   
            UniqueName="Name">  
            <EditItemTemplate> 
                <asp:TextBox ID="NameTextBox" runat="server"   
                    Text='<%# Bind("Name") %>'></asp:TextBox> 
            </EditItemTemplate> 
            <ItemTemplate> 
                <asp:HyperLink ID="HyperLink1" runat="server"   
                NavigateUrl="javascript:onclientclick=showWindow('../windows/en-primeur-tasting.aspx?Name=" & <%# Eval("Name") %> & "');"> 
                <%# Eval("Name") %> 
                </asp:HyperLink> 
                                
            </ItemTemplate> 
            <HeaderStyle Width="250px" /> 
        </telerik:GridTemplateColumn> 
Clive Hoggar
Top achievements
Rank 1
 answered on 18 Feb 2010
3 answers
383 views
Hello,

I am using a RadGrid and wanted to know how I intercept the grid command name on Client Side.  For example, I have a Delete column on the grid.  When the delete button is clicked, I want to run some client side script and then run some server side script.  What do I need to to in order to have my Javascript pick up the fact that the RadGrid Delete button has been clicked?

Thanks,
Dave
Tsvetoslav
Telerik team
 answered on 18 Feb 2010
3 answers
122 views
Hi I am trying to change the AllowFilteringByColumn Property of the radgrid to false / True via a button event click at run time. However I cannot see the change on the RadGrid when it executes. Any ideas ?
Tsvetoslav
Telerik team
 answered on 18 Feb 2010
1 answer
279 views
Hi

I tried to enable the RTL support on rad tree, and found that the context menu suddenly got the 100 % width of page - 
please see the attached image .

When I tested it on other machine, I found that context menu was ok.

The difference was that on machine with problematic context menu I had IE6 , and on the second machine it was IE8 and chrome.

Is it really could be a problem with IE6 ? Other problem ? 

Thanks .
Yana
Telerik team
 answered on 18 Feb 2010
1 answer
124 views
Hello support,

Is it possible to add a tabstrip into the edit forms of the parent and / or children using the hierarchical grid entry found in the demo here?  For that matter, is it possible to create an edit form at all in the hierarchical grid entry grid?

If so, could you explain how to do so to some degree.   

Thanks for your anticipated help.

Tsvetoslav
Telerik team
 answered on 18 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?