Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
55 views
Is Rad Controls for ASP.NET Ajax version 2010.3.1109 supports Visual Studio 2008? May I be able use them in visual studio 2008?
Daniel
Telerik team
 answered on 11 Jan 2011
3 answers
116 views
Hi,

I'm working on export rad grid data to pdf/excel.

I have a custom filter for all the columns with dropdown,datetime and checkbox filter. while i export i dont want this filter template to populate either pdf/excel.(bcoz its putting 0(zero) instead of filter column). and i used Office2007 skin so i need to have same while export pdf.

Please help me on this and thanx in advance.

Balaji
Princy
Top achievements
Rank 2
 answered on 11 Jan 2011
1 answer
174 views
Hi,

I am using telerik <telerik:GridButtonColumn UniqueName="Remove" ImageUrl="Images/delete.gif" ButtonType="ImageButton" CommandName="Delete" ItemStyle-Width="10%" HeaderStyle-Width="10%" HeaderText="Remove">inside the my RadGrid and also using <telerik:RadTextBox ....> <ClientEvents OnButtonClick="checkBEEmail" /></telerik:RadTextBox>

I have entered some text into Rad textbox and when try to press enter key from keyboard , by deafult my datagrid Delete button is firing

I have tried to put some default button in side the my Radgrid, but its not working. Can you please sugget any ideas
Shinu
Top achievements
Rank 2
 answered on 11 Jan 2011
1 answer
361 views
Hi, I am using Radgrid with Grupby feature, which works great, except it always showing the field name (I want it to just showing the value, which is a date ):
my expression setting is as follows. any suggestions?
<GroupByExpressions>
             <telerik:GridGroupByExpression>
                 <SelectFields>
                     <telerik:GridGroupByField FieldAlias=" " FieldName="OFIdate" FormatString="{0:D}"
                         HeaderValueSeparator=""></telerik:GridGroupByField>
                 </SelectFields>
                 <GroupByFields>
                     <telerik:GridGroupByField FieldName="OFIdate" SortOrder="Ascending"></telerik:GridGroupByField>
                 </GroupByFields>
             </telerik:GridGroupByExpression>
         </GroupByExpressions>
Princy
Top achievements
Rank 2
 answered on 11 Jan 2011
4 answers
193 views
Hi all,

I have a ComboBox and and ListBox.

After selected at ComboBox, get value from ComboBox and pull data from database then bind to listbox without postback.
How I to do please?
At which event I have to pull data for listbox ?


Naunton
Top achievements
Rank 1
 answered on 11 Jan 2011
13 answers
351 views
Hi

I use the dayrender event to make days that have a event associated to have a different background color. The calender is set to autopostback so when I click a highlighted day, I fetch that days event from a database. But when I click the day and the postback occurs the format of the highlited days disapers, it did not help to set  "if not page.ispostback" for the specific dayrender code either. How can I keep my format for the higlighted days that have an event associated to it?

Best Regards 
Brown
Top achievements
Rank 1
 answered on 11 Jan 2011
3 answers
122 views
I have a complex application with hundreds of styles.

I do need them to render in the editor (AJAX version).
I need users to be able to select some of them with the css styles dropdown, but not all of them.

If I include them in CssFiles, then they all go in the dropdown.
If I include them (instead or also) in CssClasses then it only renders the ones I specify.

I DO need users to see their content in context (meaning I need all the styles to be rendered by the editor) but many of them are not appropriate for the dropdown.

Worse, some of the definitions call for styling that look silly within the dropdown (e.g. boxes that have huge dimensions/margins/padding etc). It would be acceptable (but not preferable) for me to include my hundreds of styles in the dropdown as long as they weren't styled in the dropdown.

1) Is there a way to get the editor to render more classes than appear in the dropdown? 

2) If that's not possible, can I get the styles to not render in the dropdown itself?

DK
Day
Top achievements
Rank 1
 answered on 11 Jan 2011
1 answer
144 views
For security reasons I need to disable the right click option for the context menus but have been unsuccessful with the code samples I've used.  I've tried to disable it via client side scripting and server side scripting and neither option has worked.  If there is a server side solution for this could you please point me in the right direction to finding it?

Thanks



<script type="text/javascript">
        // Dynamic positioning override - not guaranteed to work in future versions!
        $telerik.$.popupDialog.prototype._positionForm = function () {
            // This will be called each time the form needs to be repositioned
            var $ = $telerik.$;
            $(this._targetElement).css({ top: "150px", left: "200px" });
        }
  
        function OnClientAppointmentContextMenu(sender, args) {
            sender.get_appointmentContextMenus()[0].set_enabled(false);
        }   
  
    </script>

protected void RadScheduler1_TimeSlotCreated(object sender, Telerik.Web.UI.TimeSlotCreatedEventArgs e)
   {
       //if (!SecurityHandler.CanWrite(SafeValue.SafeInt(Session["UserID"].ToString()), "Scheduler Admin"))
           e.TimeSlot.CssClass = "Disabled";
   }
Brian King
Top achievements
Rank 1
 answered on 10 Jan 2011
5 answers
767 views
Hi,

I am using the sample from Live Demos >> AJAX >> Examples >> Loading Panel >> Loading Images.

When I run the example from your page it shows the loading icon over the Panel controls with a transpent frame.
But in my sample application I am not able to produce the same effect. It shows the icon but hides the background items.

Also the image is always showing in the top center location whereas I specified it to be in BottomRight.

Please help.

 

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

 

    <style type="text/css">

        .module1

        {

            background-color: #dff3ff;

            border: 1px solid #c6e1f2;

        }

    </style>

 

</asp:Content>

 

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">

 

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

        <AjaxSettings>

            <telerik:AjaxSetting AjaxControlID="Panel1">

                <UpdatedControls>

                    <telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1" />

                </UpdatedControls>

            </telerik:AjaxSetting>

        </AjaxSettings>

    </telerik:RadAjaxManager>

 

    <br /><br />

   

    <fieldset class="module1">

        <asp:Panel ID="Panel1" runat="server" HorizontalAlign="Center" Height="275px">

            <asp:Button ID="Button1" runat="server" Text="Click to see the loading image" OnClick="Button1_Click"

                Style="margin-top: 15px; margin-left: 15px" CssClass="qsfButtonBigger" />

        </asp:Panel>

    </fieldset>

   

    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" EnableSkinTransparency="true" BackgroundPosition="BottomRight">

        <img src="images/loading6.gif" />

    </telerik:RadAjaxLoadingPanel>

 

</asp:Content>

Thomas
Top achievements
Rank 1
 answered on 10 Jan 2011
4 answers
216 views
Hi.
I'm sure is very simple but I'm lost at this point.

I have a RadGrid with automatic generation of columns, this RadGrid has several sources of data therefore do not know the types of data displayed in the radgrid, but the RadGrid must have the ability to edit your rows and use the UpdateCommand method within which gets the values of the fields, but when a field has a decimal value (i.e. -0.326267) always returns only with two decimales (i.e.  -0.32)
How do I retrieve the number with all decimals?

P.D. Sorry for my English
Marcelo
Top achievements
Rank 1
 answered on 10 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?