Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
99 views
Please help me. In RadAjaxManger has two client function : onResquestStart and onResponseEnd . when i ajax request to server and do something. after return value i will get value in fuction onResponseEnd but how to know i do something in Server is succeed 
or error.Is function onResponseEnd has notify an action in Server is succeed or not.?
Kevin
Top achievements
Rank 2
 answered on 15 Aug 2011
3 answers
90 views
Hello everyone,
I have a RadGrid with autogenerated columns, I set a datasource with the column names with spaces.
(example: "id ue", "number boxes", etc.).


My problem occurs when I drag a field in the group panel.


"Field id not found in the source table" in reality the field is not "id" but "id ue" ... but the blank character generates exception in the group panel.




Can you help me?


thanks


Best Regards


Lasly 
Andrey
Telerik team
 answered on 15 Aug 2011
3 answers
166 views
I have radmenu bar in which i want to highlight or backcolor change of root menu in CSS.

below is my code and css.

 <telerik:RadMenu ID="RadHistorickMenu" Skin="MenuSkin" runat="server" EnableEmbeddedSkins="false" OnClientItemClicking="OnClientItemClicking"
                            EnableRoundedCorners="true" EnableShadows="true" Width="100%" OnItemClick="RadHistorickMenu_ItemClick"> 
                            <Items>
                                <telerik:RadMenuItem Text="Quarterly" >
                                    <Items>
                                        <telerik:RadMenuItem Text="I S"/>
                                        <telerik:RadMenuItem Text="O D"  />
                                    </Items>
                                </telerik:RadMenuItem>
                                <telerik:RadMenuItem Text="Annual" >
                                    <Items>
                                        <telerik:RadMenuItem Text="I S"  />
                                        <telerik:RadMenuItem Text="O D"  />
                                    </Items>
                                </telerik:RadMenuItem>
                            </Items>
                        </telerik:RadMenu>

My CSS is below.

 

/* <RadMenu / Black> */
  
.RadMenu_MenuSkin .rmRootGroup,
.RadMenu_MenuSkin a.rmLink,
.RadMenu_MenuSkin .rmText
{
    background-color: transparent
}
  
.RadMenu_MenuSkin .rmRootGroup
{
    background-repeat: repeat-x;
    background-color: #717171;
}
   
  
.RadMenu_MenuSkin .rmVertical
{
    background-position: 0 -408px;
}
  
/* <Root items> */
  
.RadMenu_MenuSkin,
.RadMenu_MenuSkin a.rmLink
{
    font: normal 12px/23px "Segoe UI", Arial, sans-serif;
    color: #ffffff;
    text-decoration: none;
}
  
.RadMenu_MenuSkin a.rmLink,
.RadMenu_MenuSkin .rmText
{
    background-repeat: no-repeat;
    background-position: 0 500px;
}
  
.RadMenu_MenuSkin a.rmLink:hover,
.RadMenu_MenuSkin a.rmFocused,
.RadMenu_MenuSkin a.rmSelected
{
    background-position: 0 -72px;
    background-color : #dcdcdc; /* Selected menu*/
    color : #28638f;
    font-weight:bold;
}
  
.RadMenu_MenuSkin .rmLast a.rmExpanded .rmText
{
    background-position: 0 500px;
    background-repeat: no-repeat;
}
  
.RadMenu_MenuSkin a.rmDisabled,
.RadMenu_MenuSkin a.rmDisabled:hover
{
    color: #7d7d7d;
    background-position: 0 500px;
}
  
/* </Root items> */
  
.RadMenu_MenuSkin .rmVertical .rmLink,
.RadMenu_MenuSkin .rmHorizontal .rmLink
{
    margin-right: 5px; /* Distance between menu items*/
}
  
/* <Submenu items> */
  
.RadMenu_MenuSkin .rmGroup,
.RadMenu_MenuSkin .rmMultiColumn,
.RadMenu_MenuSkin .rmGroup .rmVertical
{
    border: 1px solid #080808;
}
  
.RadMenu_MenuSkin .rmTopFix,
.RadMenu_MenuSkin .rmBottomFix,
.RadMenu_MenuSkin .rmRoundedCorners .rmGroup .rmItem,
.RadMenu_MenuSkin .rmRoundedCorners li.rmFirstGroupColumn .rmItem,
.RadMenu_MenuSkin .rmRoundedCorners .rmFirstGroupColumn li.rmFirstGroupColumn .rmItem,
.RadMenu_MenuSkin .rmRoundedCorners ul.rmHorizontal .rmFirst,
.RadMenu_MenuSkin_Context.rmRoundedCorners .rmGroup .rmItem,
.RadMenu_MenuSkin_Context.rmRoundedCorners ul.rmHorizontal .rmFirst
{
    background-color: #717171
    background-repeat: repeat-y;
}
  
* html .rmRoundedCorners_MenuSkin .rmGroup .rmItem,
* html .rmRoundedCorners_MenuSkin ul.rmHorizontal .rmFirst
{
    background-color: #717171
    background-repeat: repeat-y;
}
  
  
.RadMenu_MenuSkin .rmRoundedCorners .rmGroupColumn
{
    background-color: #717171;
}
  
.RadMenu_MenuSkin .rmRoundedCorners .rmScrollWrapContainer .rmTopFix,
.RadMenu_MenuSkin .rmRoundedCorners .rmScrollWrapContainer .rmBottomFix,
.RadMenu_MenuSkin_Context.rmRoundedCorners .rmScrollWrapContainer .rmTopFix,
.RadMenu_MenuSkin_Context.rmRoundedCorners .rmScrollWrapContainer .rmBottomFix
{
    background: #717171;
}
  
* html .rmRoundedCorners_MenuSkin .rmScrollWrapContainer .rmTopFix,
* html .rmRoundedCorners_MenuSkin .rmScrollWrapContainer .rmBottomFix
{
    background: #717171;
}

i mean on click of IS or OD, it will change back color or css of Quarterly / Annual (root menu) in css.
can any one help me with this?
Kate
Telerik team
 answered on 15 Aug 2011
1 answer
136 views
I would like to use the Telerik upload control for my interface, but I would prefer to upload the file(s) to a service-based destination instead of a local destination on my Web server. How do I accomplish this, and will I still be able to utilize Telerik progress indicators?
Peter Filipov
Telerik team
 answered on 15 Aug 2011
2 answers
88 views
Is there a possiblity to format the hours column to the following:

1:00 PM     00
                  15
                  30
                  45
2:00 PM    00
ect.?
Also can I higlight the current hour and minute in different colo?

I attached a screenshot from our old scheduler. Since we are now using Telerik scheduler, we should support all the old features implemented in our old scheduler.
Plamen
Telerik team
 answered on 15 Aug 2011
6 answers
274 views
hello
i have questions.
how to call client event (such as javascript function call) when i clicked on the ribbonbartab.
please let me know soon.
thank.
Kate
Telerik team
 answered on 15 Aug 2011
3 answers
130 views
Hi!  I need to have a RadComboBox, contained within a RadListView, rebind upon a RadWindowClosing. 

I followed the solution from http://www.telerik.com/community/forums/aspnet/window/rebind-radcombobox-when-radwindow-closed.aspx.  However cannot seem to access the RadComboBox in the code behind.

Here's the relevant code from the aspx page:
// Javascript
function closeRadWindow() {
    $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest();
}

function openWin() {
     var oWnd = radopen("/TestDevelopment/Controls/CopyrightHolder.aspx", "winCopyright");
}   

 // RadAjaxManager and RadWindow declaractions
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" UpdatePanelsRenderMode="Inline"
        DefaultLoadingPanelID="RadAjaxLoadingPanel1" onajaxrequest="RadAjaxManager1_AjaxRequest">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadListView1"
             <UpdatedControls
                <telerik:AjaxUpdatedControl ControlID="cboHolder" /> 
             </UpdatedControls
          </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
     <telerik:RadWindowManager>
        <Windows>
            <telerik:RadWindow ID="winCopyright" Modal="true" Behaviors="Close, Move"
                NavigateUrl="/TestDevelopment/Controls/CopyrightHolder.aspx" runat="server"
                Width="870px" Height="515px" OnClientClose="closeRadWindow">
            </telerik:RadWindow>           
        </Windows>
    </telerik:RadWindowManager>
 
// Button
<input type="button" id="btnHolder" runat="server" value="Holder" onclick="openWin(); return false;" />

Here's the relevant code from the vb page:
Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As AjaxRequestEventArgs)
        Dim cb As RadComboBox = DirectCast(RadListView1.FindControl("cboHolder"), RadComboBox)
        cb.DataBind()
End Sub

I get an error saying 'object reference not set to an instance of an object', and when debugging through the code I see that it's not able to find the RadComboBox.  I'm guessing perhaps this has something to do with the button only being in the Edit and Insert Item Templates?

Any assistance would be greatly appreciated, thank you!
Radoslav
Telerik team
 answered on 15 Aug 2011
5 answers
851 views
Hi, new to RadGrid and Telerik.

I have created a RadGrid made of GridTemplateColumns and populated it with data.

Now, for each row in the grid I'd like to iterate over every value in each column in that row and if the value is numeric and is negative, I'd like to make it red.

I suspect it would be nested foreach, but I'm not seeing a Row object to iterate over and I can't see how to get the value out of each column(field) so I can test for negative.

Also, how would I set the style color to red on that value?

Which even would be best for this, Prerender or Databound?

Thanks!

Tsvetina
Telerik team
 answered on 15 Aug 2011
0 answers
110 views
Hello,

I have a problem with handling the radeditor control after copying a text which contains bullet list from Microsoft Office Word.

Here is the html syntax of the pasted text (To RadEditor):

<p><span style="font-family: calibri;">2) <span style="color: #000000; font-size: 11pt;"><strong><span style="color: #ff0000; text-decoration: underline;">ssdfsdfsxcvx vsvs sdfsfdsdf sdf sdf</span></strong></span><span style="font-family: calibri; color: #ff0000; font-size: 11pt;"><strong><span style="text-decoration: underline;">.<br />
</span></strong></span></span><span style="font-family: calibri; color: #366092; text-decoration: underline;"><br />
<strong>xxcv xcvxcv x cxvr r er er er er er erg .</strong></span><span style="font-family: calibri;"><br />
<span style="color: #366092;"><strong><span style="text-decoration: underline;">g dfgdfg dfg dfg df   trrterertergt ergt.</span></strong></span><span style="color: #366092;"><strong><span style="text-decoration: underline;"><br />
</span></strong></span></span><b><span style="font-family: calibri; color: #000000;">How to do that?</span></b></p>
<ul>
    <li><span style="color: #000000;"><span style="color: #000000; font-size: 11pt;">gdfgdfg df </span>.</span> </li>
    <li><span style="font-family: calibri; color: #000000; font-size: 11pt;">dfgdfg dfg dfg dg .</span> </li>
    <li><span style="font-family: calibri;">sfsdfsdfsdfsdfsdf</span> </li>
    <li><span style="font-family: calibri; color: #000000; font-size: 11pt;"><span style="color: #000000; font-size: 11pt;">dfsdfsdfmstscsdf type sdfsdf</span><strong>.</strong></span> </li>
    <li><span style="color: #000000; font-size: 11pt;">sdgcbvxcvxcv</span> </li>
    <li><span style="color: #000000; font-size: 11pt;"><strong>sdfvxcvx  wer werwerwerwer</strong></span> </li>
</ul>
<span style="color: #000000; font-size: 11pt;">
<p class="Description" style="margin: 5.25pt 0in;"><span style="font-family: calibri;"><strong><span style="color: #366092; text-decoration: underline;">sdfs sdf sdfsdf sdf sdf.</span></strong><br />
</span><span style="font-family: calibri;"><span style="color: #366092;"><strong><span style="text-decoration: underline;">xcvxv fwfwef wef wef wef.</span></strong><br />
</span><span style="color: #000000;"><strong>How to do that?</strong
<ul>
    <li><span style="color: #000000; font-size: 11pt;">sdf sdf sfv sd fsd sdf fvsd fsdfsdf.</span> </li>
    <li><span style="color: #000000; font-size: 11pt;">sdf fsdf sdf wrwer wer </span></li>
</ul>
</span>
<ul>
    <li></li>
</ul>
</span></p>
<p> </p>
<ul>
    <li></li>
</ul>
<p><span style="color: #000000; font-size: 11pt;"><span style="font-family: calibri;">3) <span style="color: #000000; font-size: 11pt;"><strong><span style="color: #ff0000; text-decoration: underline;">wer wer wer werwefr wfe.</span></strong></span><span style="font-family: calibri; color: #ff0000; font-size: 11pt;"><strong><span style="text-decoration: underline;"><br />
</span></strong></span></span><span style="font-family: calibri; color: #366092; text-decoration: underline;"><br />
<strong>sdf sdfs fsd svf xvxcv xcvxcv.</strong></span><span style="font-family: calibri;"><br />
<span style="color: #366092;"><strong><span style="text-decoration: underline;">sdf sdfsdf sdfs df.</span></strong></span><span style="color: #366092;"><strong><span style="text-decoration: underline;"><br />
</span></strong></span></span><b><span style="font-family: calibri; color: #000000;">How to do that?</span></b
<p> </p>
<ul>
    <li><span style="font-family: calibri; color: #000000; font-size: 11pt;">sdf sdf sdf sdf sdf ).</span> </li>
    <li><span style="font-family: calibri;">xcvxcvx xcvsg yhrn</span> </li>
    <li><span style="font-family: calibri; color: #000000; font-size: 11pt;"><span style="color: #000000; font-size: 11pt;">xcvxcvxcvxcv</span><strong>.</strong></span> </li>
</ul>
<span style="color: #000000; font-size: 11pt;">
<p><span style="font-family: calibri;"><strong><span style="color: #366092; text-decoration: underline;">xcvcv ghf fgh rty ty rty rt .</span></strong><br />
</span><span style="font-family: calibri;"><span style="color: #366092;"><strong><span style="text-decoration: underline;"> w twer wer wer wer wer<br />
</span></strong></span><span style="color: #000000;"><strong>How to do that?</strong>
<ul>
    <li><span style="font-family: calibri; color: #000000; font-size: 11pt;"><span style="color: #000000; font-size: 11pt;">wer wefvgfgv dfg dfg gfdf dfg</span><strong>.</strong></span> </li>
</ul>
</span>
<ul>
    <li></li>
</ul>
</span></p>
<p> </p>
<ul>
    <li></li>
</ul>
</span>
<ul>
    <li></li>
</ul>
</span></p>
<p> </p>
<ul>
    <li></li>
</ul>
<p> </p>
</span>

The problem is that the radeditor control generates new bullets (Please, view the attached screen-shot).

Please I need your help in order to solve the above problem.
It is appreciated to send me a solution for the problem with an explaination.

Regards,
Bader
Bader
Top achievements
Rank 1
 asked on 15 Aug 2011
1 answer
72 views
hi,

I cant create new rad controls project, I got this error when I try to create a website, so how can I solve this error?
Erjan Gavalji
Telerik team
 answered on 15 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?