Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
157 views
It's really a two part problem.  This is what I'm doing,

I call this on the server to set the background color if the input was not considered valid.
textboxname.Style.Add(HtmlTextWriterStyle.BackgroundColor, "red");

Then in a handler for the ClientEvents-OnKeyPress event I call this to set the background color back.
sender.get_styles().EnabledStyle[0] = sender.get_styles().EnabledStyle[0].replace("background-color:red;", "");
sender.updateCssClass();

The first problem is that the background color doesn't change until the focus is moved off the text box, when I want it to occur as soon as the user types something into it.

The second problem is that the color does change if you click off the box, but then it flashes back to red if you mouseover the box and as long as you hold the cursor there.  Mouseout, it goes back to white, back and forth.
Marbry
Top achievements
Rank 1
 answered on 22 Aug 2011
1 answer
63 views
Hi,

I am using the telerik editor in an mvc project. I can see a lot of tools for formatting eg, Font, indentation, bulleting etc, but is there no tool for spell check included in the editor? What do we need to do to incorporate this feature into the standard telerik editor?

Ritu
Marin Bratanov
Telerik team
 answered on 22 Aug 2011
8 answers
218 views
Hi Guys,

Since the upgrade to Sitefinity 4.1 the permissions does not work anymore in the radmenu, this is confirmed and I'm not sure when it will be fixed. So for the time being I want to create my own menu control.

I am however having problems building the tree with all the pages to bind to the radmenu.
I'm having difficulties getting the permissions of pages. I need to somehow check which roles have permissions to see certain pages, and based on that display the pages in the menu.

Any help would be appreciated.
I know how to get all the pages with this code :

var pages = App.WorkWith().Pages().LocatedIn( Telerik.Sitefinity.Fluent.Pages.PageLocation.Frontend ).Get().ToList()

But not sure how to check the permissions.


Kind Regards,
Gerrit
Svetoslav Petsov
Telerik team
 answered on 22 Aug 2011
2 answers
98 views
Is it possible to have the detail table rows color (both alternative and normal) the same as the color of the parent row?

So, if the back color of parent item is white, all rows of the child table should go white. Similarly, if the back color of the parent row is light gray, all child rows in detail table should have light gray!

Is that something possible?
thanks,
Sameers
Sameers
Top achievements
Rank 1
 answered on 22 Aug 2011
1 answer
120 views
Hi,
In my aspx page , I have  a Rad window.

1.I have a radWindow that opens as a popup window.
2. This popup radWindow has a close button in title bar.
3. Even though  OnClientClose="onClientClose" is set,when the user closes this window using titlebar's close button,the onClientClose is not getting fired.

Please advise how to fix this issue.

Thanks in advance

 

 

 

 

Marin Bratanov
Telerik team
 answered on 22 Aug 2011
5 answers
453 views
Dears,

I have the following js function that handles grid's onRowClick event
function rowClicked(sender, eventArgs)
{
selID=eventArgs.getDataKeyValue("ID");
alert('selected id is : ' + ID);
 
}

However, I need to get the cell/column name where the user clicked, because I want to perform other javascript functions upon user clicking on specific cells in the grid.
I tried the event OnColumnClick of the grid, but it fires only on grid header's click.

Thank you.
Princy
Top achievements
Rank 2
 answered on 22 Aug 2011
0 answers
44 views
Im Implement RadrCombo Box To Enable Search But Random On

RadrCombo _ItemsRequested  e.Text Returns %D8%AD%D8%B3%D8%A7%
So the DataView.RowFelter  throw  Execption 
 the string pattern '%D8%AD%D8%B3%D8%A7%' is invalid.
Plz Any One Can Help Me How to Solve This Problem

Sayed
Top achievements
Rank 1
 asked on 22 Aug 2011
1 answer
81 views
My windows are all clipped at the bottom.  Telerik version v.2011.1.413.40 and Visual Studio 2010.  I am using radopen in javascript to open.  See attached document for screen shot.

master page:

        <telerik:RadWindowManager
            ID="radWM"
            ReloadOnShow="true"
            runat="server"
            OnClientPageLoad="OnClientPageLoad"
            ShowContentDuringLoad="true"
            Skin="Sunset">
            <Windows>
                <telerik:RadWindow
     runat="server"
                    ID="radWindow"
                    Width="600px"
                    Height="400px"
                    Behaviors="Close">
                </telerik:RadWindow>
            </Windows>
        </telerik:RadWindowManager>

javascript:

    var currentTime = new Date()
    var time = currentTime.getTime();
    Window = radopen(__prefixURL + 'Pages/Map/popMap.aspx?Mode=PP', "radWindow" + time);
    Window.setSize(900, 500);
    Window.moveTo(100, $(window).scrollTop() + 100);
    Window.set_title(arg.Title);
Shinu
Top achievements
Rank 2
 answered on 22 Aug 2011
3 answers
208 views
Hey,
I'm using your readmenu control and I'm using vista skin, but I want to change the back color of the menu and keep the glassy effect of vista skin how can I do that?
I've tried this property, but it didn't work !
BackColor
Kate
Telerik team
 answered on 22 Aug 2011
2 answers
125 views

Hi All,
I am using radopen() method as below to open my page MyPage.aspx, it is working fine with Firefox 6 but not properly rendering on IE(7,8,9).
Don't know what the reason.
Please help to resolve this issue.

function openWin()
{

var oWnd = radopen("MyPage.aspx", "RadWindow1");

}

For reference I am attaching the Image files of Firefox and IE9.
[I have used RadWindowManager().Open in place of radopen() but still I am getting the same issue.]
Abhinav
Top achievements
Rank 1
 answered on 22 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?