Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views
Hello everyone,

I am looking for a solution where by I can export grid data to CSV even when grid is invisible. This is needed for various reasons. Any ideas would be highly appreciated. 

Happy New Year 2011.

Many thanks.
MG
Princy
Top achievements
Rank 2
 answered on 30 Dec 2010
1 answer
42 views
Want to hide Insert record pop  after InsertCommand executed successfully ....

How to hide the pop up after insertion of record.

want to hide the following attached popup
Shinu
Top achievements
Rank 2
 answered on 30 Dec 2010
2 answers
77 views
I used a Radpanel embedded with RadMultiPage. I used a javascript to perform some computation,  values needs to be computed when data is retrieved from the database. This causes a postback on the "panel" and the values computed by the javascript is cleared. I need to call the javascript when the postback occur. I placed a call on the page load event. This didnt work, what can I do?

Thanks in advanced
Effendi
Top achievements
Rank 1
 answered on 30 Dec 2010
5 answers
564 views
Hi All:

I have loaded my db column declared as follows:
    [Thumbnail] [varbinary](max) NULL

I have loaded the column as follow:
Dim _pdfStream As FileStream = Nothing
Dim _fileName As String = "C:\Src\Proj\trunk\Data\2010-05-May-Cover.pdf"
If My.Computer.FileSystem.FileExists(_fileName) Then
    _pdfStream = New FileStream(_fileName, FileMode.Open, FileAccess.Read)
    Dim _length As Integer = CInt(_pdfStream.Length)
    Dim _contents(_length) As Byte
    _pdfStream.Read(_contents, 0, _length)
    _pdfStream.Close()
    ' ... insert _contents into db
End If

I reference as follows:
<asp:FormView
    id="mImageFormView" runat="server"
    DataSourceID="mImageDataSource">
    <ItemTemplate>
        <telerik:RadBinaryImage ID="rbiThumbnail" runat="server" Width="180px" Height="220px"
            DataValue='<%# Eval("Thumbnail") %>' AlternateText='No image'
            />
    </ItemTemplate>
</asp:FormView>

I am getting the following:
    The provided binary data may not be valid image or may contains unknown header

Anything wrong?
How do I verify that the image data is stored correctly?

Phil
Phil
Top achievements
Rank 2
 answered on 30 Dec 2010
2 answers
122 views
Hello,
My page has 9 buttons as toolbar and all of them perform postback. 
When using radUpload in this page, it doesn't matter which one is clicked; file is always uploaded.

Is there any way to select which element does the uploading?
Lex
Top achievements
Rank 1
 answered on 29 Dec 2010
3 answers
1.0K+ views
I want to after 1 minute. RadGrid automatically refresh again.
Jimmy
Top achievements
Rank 1
 answered on 29 Dec 2010
3 answers
60 views
Telerik Developers,

I have 2 Menu Controls Menu A | Menu B.  I'm using both of them on the same page.  I've created 2 Custom Styles for each of them using the Visual Style Builder and when I add the CSS for Menu B to my CSS Folder, Menu A Text color and margins change as they're both responding to ".RadMenu".  Why  didn't all my styles change to .RadMenuX?  Is this suppose to happen?
Kevon Hayes
Top achievements
Rank 1
 answered on 29 Dec 2010
3 answers
180 views

I have an extra RadGrid as Detail Table which needs to be editable (update, insert, delete). 

I thought that DetailTable contains the needed Event Handlers for that but obviously i was wrong. 

So now, i don't know how do i do that. I am using RadGrid1_DetailTableDataBind event to bind the nested Grid to Datatable:

Dim dataItem As GridDataItem = CType(e.DetailTableView.ParentItem, GridDataItem)
 
 If e.DetailTableView.Name = "Payments" Then
     Dim PurchaseID As Integer = Convert.ToInt16(dataItem.GetDataKeyValue("SaleID").ToString)
     e.DetailTableView.DataSource = PurchasesAccess.GetPayments(PurchaseID)
 End If

However i still don't know how do i call UpdateCommand, InsertCommand and DeleteCommand for the grid which is detail table. 

I am not using SqlDataSource objects and such. Rather i am using classes and stored procedures. 

Thanks

Elliott
Top achievements
Rank 2
 answered on 29 Dec 2010
5 answers
107 views
After switching to Q3 dlls my advanced template modal dialog has no background. Looking at it in Chrome there seems to be another style overriding the original one but since this is all coming from axd not sure how to correct it. If I switch back to Q2 dll the dialog renders as expected. Screenshots attached.

Kamen Bundev
Telerik team
 answered on 29 Dec 2010
0 answers
87 views
I am running into an issue picking up control clientIDs when it comes to master/content pages.  For example, using $find("<%= controlName.ClientID %>") in a single page would allow me to access the controls id.  However, if I place the same code in a content page, I get a 'null' error.  It cannot find the control.  Below is the content page I am attempting to access a controls ID.  Any help would be appreciated.
<%@ Page Title="" Language="C#" MasterPageFile="~/MES.master" AutoEventWireup="true" CodeBehind="timesheet.aspx.cs" Inherits="ESPS.Timesheet.timesheet" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
 
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 
    <asp:ScriptManagerProxy runat="server"></asp:ScriptManagerProxy>
     
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        var btn = $find("<%# rBtnTest.ClientID %>");
        alert(btn);
    </script>
    </telerik:RadCodeBlock>
        
    <div style="background-color: Blue;">
    
        <telerik:RadButton runat="server" ID="rBtnTest" Text="Test" />
         
    </div>
   
</asp:Content>


Disregard this post, I have figured the out the problem. 


Marcial
Top achievements
Rank 1
 asked on 29 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
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
Bronze
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?