Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
242 views

Hello:

Inside a DataList ItemTemplate, I have defined a tooltip. The purpose is to display a larger image on mouse over to thumbnail. Here is the code snippet:

<ItemTemplate>    
.     
<asp:Image ID="thumbnail" ImageUrl='<%# Eval("ThumbnailUrl") %>' runat="server" />    
<telerik:RadToolTip ID="thumbnailTooltip" runat="server" TargetControlID="thumbnail" relativeTo="Element" Position="MiddleRight">     
     <asp:Image ID="tooltipImage" ImageUrl='<%# Eval("ThumbnailTooltipUrl") %>' runat="server" />    
</telerik:RadToolTip>    
.     
</ItemTemplate>  

However, when the page renders, the tooltip is displayed only for the first row of the DataList. I looked at the sample at http://www.telerik.com/DEMOS/ASPNET/Prometheus/ToolTip/Examples/BindToTarget/DefaultCS.aspx and my implementation looks the same. Could you please explain why I see the tooltip only for the first row and how should I fix the issue? Thanks.
Svetlina Anati
Telerik team
 answered on 11 Jun 2009
5 answers
89 views
Dear Telerik Team,
we have been building Complex asp.net web application with heavy standard asp.net controls for years now, we have implemented microsoft standard ajax tool ( manager + update panels) on several of our web applications.

the problem is : it is very very veeeeeeeeery slow specially with complex pages, when we researched the issue on the internet , we found that the update panel of microsoft and script manager is simply stupid. even if you need to refresh a simple combo box based on user changing another combobox, the update panel transfers the total page for processing on the server ( including viewstate), the page itself is processed on the server totally as a complete request and then returned back to the browser as a complete web page.

that means that ajax request using microsoft update panel provides at best the same time of a complete page request.

the microsoft update panel is simply useful to stop browser flickering!!!!


the question is : does the ajax manager provides any advantages over microsoft update panel  in the terms of performance, traffic  and server load ( it should be as it is configured to select only affected control ??? ) and how does it manage the viewstate between ajax request ????
Ivo
Telerik team
 answered on 11 Jun 2009
1 answer
167 views
I have a master detail relation and have Template column. My requirement is to have all detail rows in edit mode by default and use only a single button for update. To fill data I have used the NeedDataSource event of the grid. What happens is, the grid loads correctly showing proper data under proper headers (master view). I am able to get all rows in edit mode by default using ItemCreated event, where I set e.Item.Edit=true for the relevant items. When I click the update button, I get following error. An error has occurred because a control with id 'ctl00$cntContents$MasterGrid$ctl00$ctl07$Detail20$ctl04$ctl09' could not be located or a different control is assigned to the same ID after postback. If the ID is not assigned, explicitly set the ID property of controls that raise postback events to avoid this error. I am sure that I am missing something, because I get this error on any type of post back (i.e. other buttons / menu's etc.. which are outside the grid). Also in the template column I have placed different types of controls which get invisible if not required. Types of controls included are - RadColorPicker, RadComboBox, ASP .NET labels, Some other third party components too. Is it that other custom controls wont work with Telerik grid ? Any kind of help on this will be very much appreciated. Thanks.
Tsvetoslav
Telerik team
 answered on 11 Jun 2009
4 answers
146 views
Hi,
Is it possible to display appointments using the ExchangeProvider from exchange, plus, appointments from my database within the same scheduler?

Thanks
Mark
Andreas Selling
Top achievements
Rank 2
 answered on 11 Jun 2009
4 answers
131 views
RadStrip con SqlDataSource

Hola Equipo de Telerik,
tengo una tabla con los campos Id, UserId, TituloPagina, url, activo. Y dentro de un  SqlDataSource tengo un select normal para que me traiga los datos relaciono el RadStrip con el SqlDataSource y me trae los tabs que para mi usuario son tres, cuando procedo a navegar por los tabs y doy un clic en cualquiera de ellos me lleva al url que quiero. Excelente! pero el problema esta en que me abre una ventana nueva y dentro de un  PageView
como puedo hacer para que me aparezca dentro de la misma pagina?

aqui esta el codigo en .aspx
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">  
    <table cellpadding="0" cellspacing="0" style="width: 100%; height: 100%">  
        <tr> 
            <td valign="top">  
              
                <telerik:RadTabStrip ID="RadTabStrip1" runat="server" DataFieldID="IdUrl" DataNavigateUrlField="url" 
                    DataSourceID="SqlUrl" DataTextField="TituloPagina" MultiPageID="RadMultiPage1" Height="100%">  
                    <DataBindings> 
                        <telerik:RadTabBinding PageViewID="RadPageView1" SelectedIndexField="0" TextField="TituloPagina" Depth="1" /> 
                    </DataBindings> 
                </telerik:RadTabStrip> 
                                 
                <asp:SqlDataSource ID="SqlUrl" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                    SelectCommand="SELECT TituloPagina, url, activo, IdUrl FROM TabsUrls WHERE (UserId = @UserId)" ProviderName="System.Data.SqlClient">  
                    <SelectParameters> 
                        <asp:ControlParameter ControlID="lblUsuario" Name="UserId" 
                            PropertyName="Text" Type="String" /> 
                    </SelectParameters> 
                </asp:SqlDataSource> 
      
    <asp:Label  
        ID="lblUsuario" runat="server" Visible="False"></asp:Label></td>  
        </tr> 
    </table> 
</asp:Content> 

saludos

medio traducido a ingles jeje :)

Hi Telerik Team,
I have a table with fields Id, UserId, TituloPagina, url, active. And within a SqlDataSource I select a normal to bring me to relate the data with the SqlDataSource and RadStrip brings me the tabs for my user are three, as appropriate to navigate the tabs and I click on any of them leads me the url I want. Excellent! but the problem is that I open a new window within a PageView
How can I do to appear within the same page?


Paul
Telerik team
 answered on 11 Jun 2009
1 answer
123 views
Hi All,

I have a Grid call MainGrid in the aspx page. In this Grid iam adding one more Grid as ChildGrid and finding the ChildGrid in the ItemCreate event of the MainGrid and binding the childGrid in the same ItemCreatedevent using the DataSource Property. This Child Grid is added to the Tab PageView.

Here it is getting binded, but the problem is ItemCreated Event is getting called many items and i have many records, so the rendering of the grid is very slow.

Can any one help me out, is there any other soloution where i can bind my child grid items

Regards
Asra

Sebastian
Telerik team
 answered on 11 Jun 2009
5 answers
343 views
Hello Telerik,

I have a textbox on whose keyup event i m filling the grid.
I have successfully implemented this search.
the grid has 4 columns, "Edit" , "Name", "Town", "Delete".
The problem i am facing is, When i type the item to be searched in textbox, if no such item is present then i Click on "Add New Record" to add that.

Here i have got stuck.

I want that on Clicking "Add new Record" whatever text was there in textbox it should come in "Name" textbox which is opened in Grid for inserting purpose.

So , can you help me how to get it.

Thanks,

Chinmay Sharma.
Sebastian
Telerik team
 answered on 11 Jun 2009
7 answers
208 views
I have a grid with the Web20 skin and client side selection enabled. So when a user clicks on a row it changes the background to a green colour.

I also have logic to change the colour of the row background to red when the status column is 'requested' or 'verified'.

The problem is the skin's green colour is overshadowed by the red when you select a row that already has a colour:

http://img165.imageshack.us/img165/8959/statusgridbd1.jpg


I want to know if there is a property I can use to override the style so users can still see the selection they've made if the background already has a colour, maybe by having a different colour to that green to show they've selected a row that has a colour.
Dimo
Telerik team
 answered on 11 Jun 2009
3 answers
221 views
If I create a CommandItemTemplate in a grid that includes commands that otherwise have handler functionality built into the grid itself (e.g. the Rebind command below):

<

 

CommandItemTemplate>

 

<

 

div align="right">

 

<

 

asp:LinkButton Style="vertical-align: bottom" ID="ClearButton" runat="server"

 

 

CommandName="Clear" Text="Clear"></asp:LinkButton> |

 

<

 

asp:Button runat="server" CommandName="Rebind" CssClass="rgRefresh"/>

 

<

 

asp:LinkButton Style="vertical-align: bottom" runat="server" CommandName="Rebind" Text="Refresh"></asp:LinkButton>

 

</

 

div>

 

</

 

CommandItemTemplate>

how do I prevent my ItemCommand handler from intercepting the default handler functionality in RadGrid being called?

 

 

protected void LogGrid_ItemCommand(object source, GridCommandEventArgs e)

 

{

 

if (e.CommandName == "Clear")

 

{

 

// here I handle my custom Clear command which works fine
return
;

 

}

// but how do I prevent the RadGrid's Rebind command handling from being lost?? I've made various attempts here with RaiseBubbleEvent with no success.  Strangely it's only the Rebind functionality that's never called.  Commands outside the CommandItemTemplate hitting this function (like DeleteCommand at the row level) still have their functionality carried out by RadGrid.

 

}

Thanks in advance for any pointers.

Tsvetoslav
Telerik team
 answered on 11 Jun 2009
3 answers
206 views
Hey guys!

I need to create round corners for menu tabs using CSS no images.
Found a solution how to do it here, as per example four, nifty tabs:
http://www.html.it/articoli/niftycube/index.html

The question I've got is how do I integrate it with a custom skin.
They are pointing to a tag in this manner:
Nifty("ul#nav a","small transparent top");

I've tried various combinations of using RadMenu_Bannered,
rmFocused, rmRootGroup but it doesn't seem to be doing it for me ;-((

Please help!!
Paul
Telerik team
 answered on 11 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?