Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
110 views
Hi

I am using a RadToolBar with several buttons.

I can get the client side event to fire, but I cann't figure out how
to identify which button was clicked.

I'm sure its obvious. :-)

TIA
Yohancef
Top achievements
Rank 1
 answered on 30 Jun 2011
4 answers
140 views
Trying to use the timepicker control, setting Skin="mySkin" and EnableEmbeddedSkins="false" , just like i do with any other telerik controls. I've got the .css file included on the page. my DatePicker styles fine, but the TimePicker does not. Looking at the source html, the timepicker html tags do not even get the custom skin. Not sure what the problem is?

any idea what's going on ? below is my .css styles. are these not the correct style classes for the control anymore?


<telerik:RadTimePicker ID="RadTimePicker1" Skin="mySkin" EnableEmbeddedSkins="false" runat="server" > 
<TimeView runat="server" StartTime="07:00:00" EndTime="20:00:10" /> 
</telerik:RadTimePicker> 

/*time view*/ 
 
table.RadCalendarTimeView_mySkin 
    border-collapse:separate
    border:1px solid #75b064
    background:#ffffff
    font:11px "segoe ui",arial,sans-serif
 
.RadCalendarTimeView_mySkin th 
    border:0; 
    border-bottom:1px solid #a8cf9d
    padding:0 0 1px
    background:#caf2c2 0 -1000px repeat-x url('../_images/Calendar/sprite_green.gif'); 
    color:#006e0b
    text-align:center
    line-height:23px
    cursor:default
    font-weight:normal
 
table.RadCalendarTimeView_mySkin td 
    border:0; 
    border-left:1px solid #acdb9c
    padding:2px 2px 3px
 
table.RadCalendarTimeView_mySkin td:first-child 
    border-left:0; 
 
.RadCalendarTimeView_mySkin a 
    display:block
    padding:2px 6px
    text-align:center
    color:#000000
    text-decoration:none
 
.RadCalendarTimeView_mySkin td.rcSelected a 
    border:1px solid
 
    padding:1px 5px
    background:#fa83fc 0 -1700px repeat-x url('../_images/Calendar/sprite_green.gif'); 
 
.RadCalendarTimeView_mySkin td.rcHover a 
    border:1px solid #299926
    color:#299926
    padding:1px 5px
    background:#ff80fd 0 -1600px repeat-x url('../_images/Calendar/sprite_green.gif'); 
 
.RadCalendarTimeView_mySkin .rcFooter 
    border:0; 
    border-top:1px solid #75b064
    padding:0; 
 

Lisa
Top achievements
Rank 1
 answered on 30 Jun 2011
1 answer
171 views
I'm trying to convert some AJAX modal popup extenders to RadWindows, but the LinkButtons in my RadWindows no longer trigger my UpdateProgress to appear on postback.  The end result is that the user has no indication that the action is occurring and can click the buttons as many times as they choose.  When I try and add the LinkButton as triggers to the UpdatePanel, I get an error that the control doesn't exist.  Is there a way to associate controls in a RadWindow as UpdatePanel triggers?  Here's a simplified version of the ASPX.

<asp:UpdateProgress ID="updProgress" AssociatedUpdatePanelID="updPanel" runat="server">
    <ProgressTemplate>
        <asp:Panel ID="progressPanel" runat="server" CssClass="IPUpdateProgress">
            <table align="center">
                <tr>
                    <td align="center" valign="middle">
                        <asp:Label ID="lblUpdateInProgress" runat="server" CssClass="IPLabelText" Text="Update in progress..."></asp:Label>
                        <asp:Image ID="imgGlobalProcessing" runat="server" ImageUrl="/Images/ajax-loader.gif" />
                    </td>
                </tr>
            </table>
        </asp:Panel>
    </ProgressTemplate>
</asp:UpdateProgress>
<asp:UpdatePanel runat="server" ID="updPanel" UpdateMode="Conditional" ChildrenAsTriggers="true">
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="lnxbtnNew" EventName="Click" />
        <asp:AsyncPostBackTrigger ControlID="drxlstSearch" EventName="SelectedIndexChanged" />
        <asp:AsyncPostBackTrigger ControlID="tbxSelectedValue" EventName="TextChanged" />
    </Triggers>
    <ContentTemplate>
        <telerik:RadWindow runat="server" ID="rwNewExport" Modal="true" Title="Create New Export" Skin="IP" EnableEmbeddedSkins="false" AutoSize="true" VisibleStatusbar="false">
            <ContentTemplate>
                <table cellspacing="0" cellpadding="2" width="580px">
                    <tr>
                        <td colspan="3"><asp:Label ID="lbxNewValidationError" CssClass="IPValidationError" runat="server"></asp:Label></td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label111" runat="server" CssClass="IPLabelText">Export Country</asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="drxlstNewExportCountry" runat="server" CssClass="IPDropDownList" Width="400px">
                            </asp:DropDownList>
                        </td>
                        <td rowspan="2">
                            <asp:LinkButton ID="lnxbtnSaveNew" runat="server" Style="padding-right: 4px; padding-left: 4px; padding-bottom: 4px; padding-top: 4px" CssClass="IPLinkButton">Go</asp:LinkButton>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label112" runat="server" CssClass="IPLabelText">Import Country</asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="drxlstNewImportCountry" runat="server" CssClass="IPDropDownList" Width="400px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3"> </td>
                    </tr>
                    <tr runat="server" id="rowTemplateHeader" class="IPGridHeader">
                        <td colspan="3">
                            <asp:Label ID="Label113" runat="server">Create New Export From Template</asp:Label>
                        </td>
                    </tr>
                    <tr runat="server" id="rowTemplate">
                        <td>
                            <asp:Label ID="Label114" runat="server" CssClass="IPLabelText">Template</asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="drxlstTemplates" runat="server" CssClass="IPDropDownList" Width="400px">
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:LinkButton ID="lnxbtnSaveFromTemplate" runat="server" Style="padding-right: 4px; padding-left: 4px; padding-bottom: 4px; padding-top: 4px" CssClass="IPLinkButton">Go</asp:LinkButton>
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
        </telerik:RadWindow>
    </ContentTemplate>
</asp:UpdatePanel>
Matt DiPietro
Top achievements
Rank 1
 answered on 30 Jun 2011
2 answers
579 views
Hello All,

   I have a RadGrid with EditCommand Column  as the first column in the grid. I have a edit image set for all the rows in that column. I did this by putting the editImageURL property.
Now. My question is, Is there a way to change the Image of that column dynamically based on the value of other column in the grid?

I want to change the first column's image of a grid based on other column value. Can i do it in the aspx page or Is it best way to do it from code behind?

If I have to do it from Code behind, How can I access the image folder( which has all the images  I am using in the project) in my project from code behind. If it is aspx page we can set the property like editImageUrl .
Jagat
Top achievements
Rank 1
 answered on 30 Jun 2011
10 answers
1.3K+ views
On one of my pages I'm getting this error when I click on the calender control on my page...

Error: [Exception... "'Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500' when calling method: [nsIDOMEventListener::handleEvent]"  nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)"  location: "<unknown>"  data: no]

It doesn't give the error when I run from VS 2008 but when I promote to any other server I get the error. It only happens when I click on the calender control.

I searched these forums (and others) and have tried all of the suggestions (there are no response.writes, response.transfers, or anything like that).
Sérgio
Top achievements
Rank 1
 answered on 30 Jun 2011
3 answers
139 views
Hi. I was wondering how I could export data that's been rendered in a Treelist, into an Excel file, maybe not with the methods included with control, but some other class which I could use.

Could anyone help me? 
Thanks in advance.
Daniel
Telerik team
 answered on 30 Jun 2011
2 answers
90 views
Hi,

I am opening a radWindow on click on a radgrid column. When RadWindow displayes, the background gets blur and can not read the things on it. How can I keep the background clear so that user can read it.

Please help,
Smiely
Smiely
Top achievements
Rank 1
 answered on 30 Jun 2011
2 answers
110 views
I am using the RadColorPicker in an asp.net repeater control.
Everything works well except that the browser (any browser) is consuming approximately 500MB of memory 
with only 13 items loaded into the repeater.
If I comment out the radcolorpicker, memory consumption drops to around 60-70MB...  which is a little 
more appropriate.

Memory usage is the same regardless of whether or not I handle the OnClientColorChange event, so I'm 
pretty sure that whatever is going in is happening as a part the control's default behavior.  

I am using the latest available controls.

Are there any known issues with this control and memory leaks/consumption?

Thanks...
Niko
Telerik team
 answered on 30 Jun 2011
2 answers
294 views
Hi
How do i change the mouse cursor for the menu so that  it is a hand when the user hovers over a menu item rather than an arrow?
thanks
NetGuru
Top achievements
Rank 1
 answered on 30 Jun 2011
5 answers
2.2K+ views
Hello,

I am using RadGrid from RadControls for ASP.NET v2008.1.619 to display and edit TEXT fields from a Microsoft SQL Server database.

I am trying to insert line breaks in the text using an ASP.NET TextBox (multi-line) in an EditFormTemplate.  When I press Enter the line break works as expected.  When I update the RadGrid the text in the RadGrid is not honoring the line break.  I also tried using Shift-Enter which works in the ASP.NET TextBox but when displayed back in the Grid after updating does not work.  I tried using <br> tags but they just render in grid as <br> and do not break the line.

Is there a way to enter line breaks and have them work in the RadGrid?

Thanks,

Randall Price
Randall
Top achievements
Rank 2
 answered on 30 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?