Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
140 views
Hello all!

First i'll describe my scenario:

I have a grid with a ComboBox on each row. It displays an index-value, kind of it's position. When the grid is databound i'll simply set the text-value of the ComboBox to the current index (for display purposes). It's possible to change this index by clicking on the ComboBox and as you probably understand this is where the ComboBox gets populated through the OnItemsRequested-event. Everything looks good and works fine, however, if the ComboBox is clicked -> items get requested -> and after the ComboBox has been populated and the user clicks somewhere else on the page, the ComboBox will AutoPostback, allthough no item was clicked... Frustrating behaviour since PostBack only should occur when another item is clicked.

At the moment i'm trying so solve this with some client-side code, not finished tho. Any ideas or recommendations?
Linus
Top achievements
Rank 2
 answered on 23 Mar 2009
6 answers
165 views
Hello, how can we use the FlashManager to embed a YouTube Video.  I know one of your staff mentioned to use the Flash Manager for You Tube but didn't explain how. 

Thanks!

-Erin
Rumen
Telerik team
 answered on 23 Mar 2009
1 answer
74 views

Hi

I am using RADtooltipManager in   RADGrid, I am adding a Hyper link in column at run time in ItemDataBound event.But when I click on group buttons(i.e + and -)  on  my radgrid to show/Hide  data,I found that the links are disappear after that.




Any help is appreciated!

Thanks
Atul

 

Princy
Top achievements
Rank 2
 answered on 23 Mar 2009
1 answer
67 views
Hi friends, i have a problem. I need to insert rows in a radgrid from the vb.net code.

Please i expect you can answer me how to do it.

Thanks a lot.
Daniel
Telerik team
 answered on 23 Mar 2009
3 answers
199 views
Hi, since this morning, i have the compilation error below.

Do you know how to fix it ?

Thanks

BC30009: Reference required to assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' containing the implemented interface 'System.Web.UI.IScriptControl'. Add one to your project.

Erreur source:

Ligne 44 :         Private Shared __initialized As Boolean
Ligne 45 :         
Ligne 46 :         Private Shared __BuildControl__control2_skinKey As Object = System.Web.UI.PageTheme.CreateSkinKey(GetType(Telerik.Web.UI.RadGrid), "Grille")
Ligne 47 :         
Ligne 48 :         <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
Atanas Korchev
Telerik team
 answered on 23 Mar 2009
1 answer
132 views
I'm using the Rotator control and I have the RotatorType set to "Buttons", so that the user has to click the button to scroll the images. The problem I have with this is that it doesn't scroll like the "ButtonsOver" setting.

For example, I display 5 images at a time, when I have ButtonsOver set, the rotator scrolls by 1 image at a time, but when I have Buttons set, it scrolls by 5 images at a time.

I'm assuming this is what you guys wanted the Buttons type to do, but I like the Buttons type and wanted it to work like ButtonsOver. I think there should some sort of "Step" property, like the calendar navigation, that would force the Buttons rotator type to move by 1 image at a time when the button is clicked.
Fiko
Telerik team
 answered on 23 Mar 2009
3 answers
104 views
Hi, we are using your components for a long time in our company and we began integrating RadRotator in some of our website.

It works very well. This week, we had to add a RadRotator inside an asp:panel with scrollbars and the rotator (images, buttons) isn't scrolling with the rest of the page when using the panel scrollbar.

We noticed that in Slideshow mode, when the rotator is fading, it is scrolling with the scrollbar but not between animations.

Any input on what is happening?

Thanks in advance,

Yan
Fiko
Telerik team
 answered on 23 Mar 2009
3 answers
125 views
Hi guys,
I have read a few posts regarding this issue, however, there really isn't much information available.
I'm currently working on a site within IIS7 using a modified version of urlrewriter.net's control.

The differences mainly are that mine does not run at the BeginRequest of the HttpApplication pipeline, but rather the AuthorizeRequest.  This is done because mine is geared towards developers who would like to make use of ASP.NET forms authentication and membership/roles and offers rewriting conditionals for both.  Mine also contains an event PreRequestHandlerExecute() which sets a handler for the current Page's Page_Init event.  There is rewrites the url again so that the Form.Action is properly set automatically.

The problem is that RadProgressArea won't display when the UrlRewriter is running. I am able to upload though.  I don't expect Telerik to really look deeply into this since it's not their problem per say, but I was hoping I could get some information as to how the RadUploadHttpModule works and how it's effected by rewriting.

I've seen another post describing to add a new re-writing rule for Telerik.RadUploadProgressHandler.ashx
like so:
<rewrite url="^.*Telerik.RadUploadProgressHandler.ashx(.*)$" to="~/Telerik.RadUploadProgressHandler.ashx$1" />

But this is not the problem with my rewriter. The website correctly finds the handler as I can see in FireBug:
www.sitename.com/Telerik.RadUploadProgressHandler.ashx?RadUrid=93c3f63d-7407-4182-adc1-287dca70b614&RadUploadTimeStamp=1237462402048&

However, it's response is always:
var rawProgressData = {InProgress:false,ProgressCounters:false};

Is there anyone who can elaborate as to what might cause this. How the RadUploadHttpModule works exactly.
And if possible, what I should look for?
Atanas Korchev
Telerik team
 answered on 23 Mar 2009
6 answers
121 views
Hello,

I've asked a few basic questions here recently and had good results.

First off, please be patient with me, I'm feeling a bit overwhelmed. I need to assist a team of developers with the user interface they have in a .Net application. My experience has been with creating XHTML, CSS, and images for many years and handing them off to developers for use in an application. My current initiative is to work directly with the RadTools in Visual Web Developer. The developers would like me to set up the tool visually as I wish it to appear in the application and then send them the necessary pieces to drop into the application. I don't think I need to worry too much about the behind the scenes mechanics but I don’t know exactly where to start with this process.

I found the Telerik Trainer application, loaded it and started watching RADAjax.Overview.tts. I'm 35 seconds into the presentation and already a bit confused. They open a new template named ASP.NET AJAX-Enabled Web Site, as I follow along I try to do the same but that template doesn't show up, I see ASP.NET Web Site, ASP.NET Web Service, Empty Web Site, WCF Service, Dynamic Data Entities Web Site, and Dynamic Data Web Site. I'm using Visual Web Developer 2008 Express. Should I be using something else? What am I missing?

Hopefully I'm not the first non-developer designer that has felt a bit lost getting started and maybe you can suggest a learning path that is more focused on designers and less on developers. Right now I feel like I don't know what I don't know but I do know I'm a bit frustrated trying to tackle this learning curve and the 700+ page tutorial PDF is daunting.

Any help you can provide to point me in the right direction would be great. At the risk of sounding like an idiot I was hoping that this process would be as easy as opening a new page in Visual Web Developer, dragging in the Telerik tool then tweaking the markup. Can you suggest a proper workflow for my initiative? Do I need to be a know-all developer to use this product?

One last thing, the development team is 1/2 way around the world from me and in another time zone and I have no access to the code so I'm flying solo.

Thank you,
Bob
Softec
Top achievements
Rank 1
 answered on 23 Mar 2009
1 answer
193 views
Hi,

We are trying to do something like Telerik online purchase check out list where user could update the quality by using combobox and also delete product as they wish.

We only manage to bind the session to the Grid, but, we are not able to bind the delete command and also the edit to the Grid item. The RadGrid1_ItemDeleted will never been fired.

Please advice.

Dim objDT As System.Data.DataTable 
Dim objDR As System.Data.DataRow 
 
Protected Sub RadGrid1_NeedDataSource(ByVal source As ObjectByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource 
objDT = Session("Cart"
RadGrid1.DataSource = objDT 
End Sub 
 
Protected Sub RadGrid1_ItemDeleted(ByVal source As ObjectByVal e As Telerik.Web.UI.GridDeletedEventArgs) Handles RadGrid1.ItemDeleted 
' Some code to delete 
End Sub 
 
Private Sub makeCart() 
If IsNothing(Session("Cart"))Then 
objDT = New System.Data.DataTable("Cart"
objDT.Columns.Add("ID"GetType(Integer)) 
objDT.Columns("ID").AutoIncrement = True 
objDT.Columns("ID").AutoIncrementSeed = 1 
objDT.Columns("ID").Unique = True 
objDT.Columns.Add("Quantity"GetType(Integer)) 
objDT.Columns.Add("ProductName"GetType(String)) 
objDT.Columns.Add("ProductID"GetType(Integer)) 
objDT.Columns.Add("Cost"GetType(Decimal)) 
Session("Cart") = objDT 
End Sub 

            <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" GridLines="None" ShowFooter="True" AllowPaging="True" AllowAutomaticDeletes="True" PageSize="20" AllowAutomaticUpdates="True" OnNeedDataSource="RadGrid1_NeedDataSource"
                <PagerStyle Mode="NextPrevAndNumeric" /> 
                <MasterTableView DataKeyNames="ID" HorizontalAlign="NotSet" AutoGenerateColumns="False"
                <Columns> 
                    <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"
                        <ItemStyle CssClass="MyImageButton" /> 
                    </telerik:GridEditCommandColumn>                 
                    <telerik:GridBoundColumn Aggregate="Count" DataField="ID" HeaderText="Product ID" 
                        FooterText="Total products: " UniqueName="ID"
                    </telerik:GridBoundColumn>     
                    <telerik:GridBoundColumn DataField="ProductName" HeaderText="Product name" SortExpression="ProductName" 
                        UniqueName="ProductName"
                    </telerik:GridBoundColumn>      
                    <telerik:GridBoundColumn Aggregate="Sum" DataField="Cost" HeaderText="Unit price" 
                        FooterText="Total unit price: " UniqueName="Cost"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn Aggregate="Sum" DataField="Quantity" HeaderText="Qty" 
                        FooterText="All units in stock: " UniqueName="Quantity"
                    </telerik:GridBoundColumn>  
                    <telerik:GridCalculatedColumn HeaderText="Total Price" UniqueName="TotalPrice" DataType="System.Double" 
                        DataFields="Quantity, Cost" Expression="{0}*{1}" FooterText="Total Price: " 
                        Aggregate="Sum" />                                                              
                    <telerik:GridButtonColumn ConfirmText="Delete this product?" ButtonType="ImageButton" CommandName="Delete" Text="Delete" 
                        UniqueName="DeleteColumn"
                        <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton" /> 
                    </telerik:GridButtonColumn>                      
                </Columns> 
                </MasterTableView> 
                 
            </telerik:RadGrid> 



Shinu
Top achievements
Rank 2
 answered on 23 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?