Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
91 views
Is it possible to show a STANDARD tooltip on clickable rows in the grid.

Rows are clickable with

<ClientSettings>
<ClientEvents OnRowClick="RowClick"></ClientEvents>
</ClientSettings>

Thanks,
Marc
Mira
Telerik team
 answered on 21 Apr 2011
1 answer
161 views

Hi everyone,

I’ve to load a large amount of data in a RadGrid and in order to improve performance I would like to disable the RadGrid ViewState.

My RadGrid just show data and let the user to click in some image buttons to do some actions with the selected row.

When I set the EnableViewState to false, I’ve found the RadGrid1_ItemCommand event doesn’t fire when you click on the Image button but it does when you click on a link button.




<telerik:GridTemplateColumn FilterControlAltText="" UniqueName="TemplateColumn6">

<ItemTemplate>

<!--ImageButton doesn't fire the RadGrid1_ItemCommand event -->

<asp:ImageButton ID="ImageButton1" runat="server" CommandName="Imprimir2" ImageUrl="printer3.png"

CausesValidation="false" />

<!--LinkButton fires the RadGrid1_ItemCommand event-->

<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="false" CommandName="Imprimir"

Text="Print" CssClass="myCssStyle"></asp:LinkButton>

</ItemTemplate>

</telerik:GridTemplateColumn>


Best regards,
Martin
Telerik team
 answered on 21 Apr 2011
8 answers
523 views
Hi Telerik Team,
 
Is it possible to add header and footer in excel file while exporting from RadGrid?

Regards,
Zeeshan
Dhamodharan
Top achievements
Rank 1
 answered on 21 Apr 2011
1 answer
120 views

Hi,

I am trying to get either a RadToolTip working with a GridButtonColumn (because I need to use the RadWindow Confirm)

or

A Template column with a RadTooltip inside which also pops up a RadConfirm window.

I spent a good few hours yesterday and got this working....

<script type="text/javascript">
        function OnClientClicking(sender, args)
        {
            var callBackFunction = Function.createDelegate(sender, function (argument)
            {
                if (argument)
                {
                    this.click();
                }
            });
   
            var text = "Are you sure you want to archive this application?";
            radconfirm(text, callBackFunction, 300, 100, null, "Archive?");
            args.set_cancel(true);
        }
    </script>
 And then this on a RadButton in the Template Column
<telerik:RadButton ID="imgArchive" runat="server"  CommandName="Refs"  OnClientClicking="OnClientClicking"></telerik:RadButton>

The problem is that my usercontrols are loaded into a multipage using RenderSelectedPageOnly="true" and ajax.

When selecting the tab with the control used above I am getting 'OnClientClicking' is undefined.

All help appreciated.

Cheers,

Jon



Mira
Telerik team
 answered on 21 Apr 2011
1 answer
321 views
I am a little confused about integrating RadControls such as the RadTabStrip into SharePoint 2010. In the online help under the SharePoint 2010 integration it does not mention anything other than integrating the RadEditor, RadGrid, RadListView and RadScheduler. My question is one is it possible to use controls such as the RadTabStrip into SharePoint 2010 Page Layouts? And if so what are the steps I need to take to integrate the RadControls other than the RadEditor, RadGrid, RadListView and RadScheduler that seem to be in their own installer. Any help pointing me in the right direction would be greatly appreciated.

Thank you so much for your help with this.
Sebastian
Telerik team
 answered on 21 Apr 2011
1 answer
123 views
Hi,

I have a rad grid that is using EditFormSettings with a FormTemplate and in Popup mode.  It is displaying a couple of items in the popup for editing purposes that are not already displayed in the grid.  When a user is typing in information into these areas, I want to inform the user of any HTML tags they may mistakenly enter. 

As it stands now, in testing, when HTML tags are entered into one of the text boxes and save is clicked, the form just brings back what was on the screen  at submission and I record a HttpRequestValidationException in my event log.  Clicking on the cancel button also exhibits this behavior as it also performs a postback and will not let me cancel the edit without removing the offensive tags.

When I debug the page through Visual Studio, I get this error message from the ScriptResource.axd: "Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500".

I cannot turn off page validation.  Not an option.  What I need is some way to display a message to the user that the data they have entered is incorrect and that they need to correct it to continue.

Thanks.
Pavlina
Telerik team
 answered on 21 Apr 2011
5 answers
373 views
i am displaying data inside the telerik grid using sqldatasource which has a select command to join data from 2 tables

now, in that grid i want to have a button, when clicked will add the corresponding row to ANOTHER table alongwith data from a text box (textbox appearing inside the grid row where the button was clicked)

im stuck and need help



<telerik:RadGrid ID="radgridLukkheUsers" runat="server" DataSourceID="lukkheusers"
    GridLines="None" AutoGenerateColumns="False">
    <MasterTableView DataSourceID="lukkheusers">
        <Columns>
            <telerik:GridBoundColumn DataField="displayname" HeaderText="User" SortExpression="displayname"
                UniqueName="displayname">
            </telerik:GridBoundColumn>
             
            <telerik:GridButtonColumn ButtonType="PushButton" Text="Add" CommandName="Add">
            </telerik:GridButtonColumn>
              
        </Columns>
    </MasterTableView>
     
</telerik:RadGrid>
prashant kamdar
Top achievements
Rank 1
 answered on 21 Apr 2011
1 answer
50 views
Hello, 

I found I quit interesting stuff with the grid... let me explain you. :)
I have a grid, with the culture="fr-FR". In the same grid, I have a date.
When I filter this column, I right click on the header and I select "Filtrer" than "Plus petit que". Here, I select my date, let's say First of april : 01/04/2011 in french culture. After this I click "Filtrer" and every thing is working.

But, when I go back to this filter, the date have changed to 04/01/2011... Not the french culture...

I found this interesting :p


In the same post I have 2 questions...
Is it possible to arrive on 'Contains' when we want to filter?
Is it possible to press Enter to apply a filter?


Thanks a lot

Jean-Yves
Martin
Telerik team
 answered on 21 Apr 2011
1 answer
83 views
I'd like to broaden this question, but the forum doesn't allow me to change the title, so I'm putting up a new posting instead here:  http://www.telerik.com/community/forums/aspnet-ajax/grid/cleanest-way-to-bind-non-datatable-source-to-dropdownlist-in-code-behind.aspx


FYI, Below is my original question, which I'm still curious about, but what I really need to do is answer the broader question in the other post.

I have a couple of fields in my ViewModel that are integer representations of the Ids of a field whose name should be displayed to the user.  I would like to have a GridBoundColumn to represent them in my RadGrid's view mode, but for that to work, I need there to be an intermediary class that does a conversion from the integer underlying value to the text value the user needs to see.  Is there any provision for this with RadGrid, or if not, then what is the recommended practice for such a case?

Thanks!
Marin
Telerik team
 answered on 21 Apr 2011
1 answer
129 views

Consider the following example:

The scheduler has a recurring appointment over three days with the following duration:
  09.00-10.00 wednesday
  09.00-10.00 thursday
  09.00-10.00 friday

How do I deny the creation of an earlier second recurring appointment? Like the one below:
  09.00-10.00 monday
  09.00-10.00 tuesday
  09.00-10.00 wednesday (conflict not trapped)

The example provided by Telerik, "ConflictsWithOccurrences", doesn't seem to handle this particular situation.
However, the following recurring appointment is trapped as expected:
  09.00-10.00 friday (conflict trapped)
  09.00-10.00 saturday
  09.00-10.00 sunday

 

 Has anyone done this?

Henric
Top achievements
Rank 1
 answered on 21 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?