Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
49 views
Hello

We have a major problem that causes for some clients not to see the upper toolbar of the Image Manager (the one that includes the Upload, New Folder, Refresh, etc.. buttons).. it just disapper

I believe it is related to people who are using IE 6.0..but i am not 100% sure it is the reason..

We are using version: 2008.03.1125.35

Please let me know what we can do to resolve this issue
Thank you.

Dror



dror riov
Top achievements
Rank 1
 answered on 08 Jul 2009
1 answer
154 views
I just started using the BinaryImage control in my MVC application, but it doesn't seem to be working correctly.

The code I'm using is this:
<% 
imgMain.DataValue = images[0].ImageFile; 
imgMain.DataBind(); 
%> 
<telerik:RadBinaryImage ID="imgMain" runat="server" Width="720px" Height="470px" 
                AutoAdjustImageControlSize="false" /> 

The "ImageFile" property's db type is "VarBinary(MAX)", but I retrieve it as a Byte[] array in my LINQ class. The problem I'm seeing is that the image isn't showing up. The tag is generated with the url, but nothing is showing. I have the Telerik resource file registered in my web.config, which was generated by the RadScriptManager control, so it must exist.

If you could tell me what I'm doing wrong or how I can fix it, it would be much appreciated.

Thanks.
Rosen
Telerik team
 answered on 08 Jul 2009
1 answer
321 views

I am looking for an example how to use the FilterExpression when bound to a WCF service using Linq to perform an EqualTo compare.  When the form loads, I would like to filter the grid based on a session variable. The following is the code I am using to set the FilterExpression, but I receive and error Expression of type 'Boolean' expected.  I have reviewed the following demo but I am not sure how to modify the FilterExpression .  Any suggestions? 

        protected void Page_Load(object sender, EventArgs e)  
        {  
            if (!Page.IsPostBack)  
            {  
 
                RadGridProvider.MasterTableView.FilterExpression = @"it""[[StoreID]"" = 2";  
                GridColumn column = RadGridProvider.MasterTableView.GetColumnSafe("StoreID");  
                column.CurrentFilterFunction = GridKnownFunction.EqualTo;  
                column.CurrentFilterValue = "2";  
                RadGridProvider.MasterTableView.Rebind();  
            }  
        } 


 

 <telerik:RadGrid runat="server" ID="RadGridProvider" AllowPaging="true" AllowSorting="true" 
            AllowFilteringByColumn="true" EnableLinqExpressions="true" > 
            <MasterTableView DataKeyNames="ProviderID" ClientDataKeyNames="ProviderID">  
                <PagerStyle Mode="NextPrevAndNumeric" /> 
                <Columns> 
                  
                 <telerik:GridBoundColumn DataField="StoreID" HeaderText="Store ID"   
                        DataType="System.Int32">  
                    </telerik:GridBoundColumn> 
                      
                  
                     <telerik:GridBoundColumn DataField="ProviderID" HeaderText="Provider ID"   
                        DataType="System.Int32">  
                    </telerik:GridBoundColumn> 
                      
                      
                    <telerik:GridBoundColumn DataField="Firstname" HeaderText="First Name"   
                        DataType="System.String">  
                    </telerik:GridBoundColumn> 
                     
                </Columns> 
                <PagerStyle Mode="NumericPages" /> 
            </MasterTableView> 
            <ClientSettings> 
                <DataBinding SelectMethod="GetProviderDataAndCount" Location="Service.svc" 
                    SortParameterType="Linq" FilterParameterType="Linq">  
                </DataBinding> 
                  
                <ClientEvents OnRowSelected="RadGridProvider_RowSelected" OnDataBound="RadGridProvider_DataBound"/>  
                <Selecting AllowRowSelect="true" /> 
 
 
            </ClientSettings> 
        </telerik:RadGrid> 
         


Tsvetoslav
Telerik team
 answered on 08 Jul 2009
1 answer
78 views
Hi

We are facing some problem in using latest telerik Controls. 
We have upgraded telerik controls from older version to new version(Q1 2009).We have installed it through installer on our dev machines and all functionality is working perfectly fine.
But we are facing problem on Development Server. We have upgraded reference in site
When we are running the site it is giving error "Access Denied"  in MicrosoftAjax.js

We tried to sort out the problem using this link 
http://weblogs.asp.net/bleroy/archive/2007/01/31/how-to-work-around-the-quot-access-denied-quot-cross-domain-frame-issue-in-asp-net-ajax-1-0.aspx
but no result
Is there any setting required while upgrdation of controls??Because on all developer's  machine, this error is not coming
Only on Server(Where we have not run run installer) problem is coming


Kindly provide some solution of this problem ASAP. We are stuck due to this issue.

Thanks & regards
Monika Sharma
Sebastian
Telerik team
 answered on 08 Jul 2009
0 answers
167 views
Hi i have inbuilt filterexpression like below:
<telerik:GridBoundColumn SortExpression="OrgName1" HeaderStyle-Width="5.33%" ItemStyle-Wrap="true"
                            UniqueName="OrgName1" CurrentFilterFunction="contains" AutoPostBackOnFilter="true"
                            FooterText="OrgName :" Aggregate="CountDistinct" HeaderText="OrgName"  ShowFilterIcon="false"
                            DataField="OrgName1">

I would like to call this controls filterexpression value in codebehind whenever i switched over from this input control to  another control

Because i am getting filter combo value in selectechanged event from serverside so that i can get combo value during that event fired.
But the above code how can i cal event and get the value of that input control from server side

Appu
Appu
Top achievements
Rank 1
 asked on 08 Jul 2009
1 answer
89 views
Is it possible for you guys to add in an option on the demos website to select the product suite version being used? This way if breaking changes come about with new releases those of us already using a previous version can still research based on the functionality included?

It hasn't bit me yet but I'm sure it's gotten others before - thinking something is present when it only is in a new version.

Just a thought!
Ivo
Telerik team
 answered on 08 Jul 2009
1 answer
121 views
Hi evryone, ust a little question,,,
It is possibile to convert native GridView control to telerik radgrid?
Exist a tool that make this easy in visual studio extensions?
Thanks
Georgi Krustev
Telerik team
 answered on 08 Jul 2009
3 answers
182 views
i have this
<telerik:RadPanelBar ID="RadPanelBar1" runat="server" Skin="Web20" Width="198px" Height="550px" ExpandMode="FullExpandedItem"  > 
                        <Items> 
                            <telerik:RadPanelItem  Value="RadPanelBar_CompanyReport" Text="Company Report" > 
                                <Items> 
                                    <telerik:RadPanelItem Value="CompanyReport_PanelBar" > 
                                       <Items> 
then i generate item automatically on the server side. so my question is how do i detect which child items for CompanyReport_Panelbar just got clicked? thank you for your help. using 

Protected

 

Sub RadPanelBar1_ItemClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadPanelBarEventArgs) Handles RadPanelBar1.ItemClick

will detect every single click. i don't want that i want to only postback on the item. i don't want to use navigateurl. is there a way to accomplish this? thanks.

 

appdev
Top achievements
Rank 1
 answered on 08 Jul 2009
1 answer
71 views
hi 
i have a page contain radgrid that i open radwindow on this page 
after i close radopen i want refresh and rebind datatable to this radgrid in clientside
whit this code:
 function OnClientclose(sender, eventArgs)
        {
            alert('win closed');
            var dt=Controls_GridInbox.return_data();

            //    dt is datatable and all data is return here and not problem

            var dv=dt.value;
            var tableView = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
            var grid = $find("<%= RadGrid1.ClientID %>");
            alert(dv.Rows.length);
            tableView.set_dataSource(dv);
            tableView.dataBind();
         
                        
        }

now after tableView.dataBind(); grid not bind with new datatable
how rebind tableView in top code to rad grid
please help me
very thanks
Pavlina
Telerik team
 answered on 08 Jul 2009
2 answers
118 views
I found a great thread here on how to export selected rows to excel/csv/pdf/etc. The code behind used looks like this:
protected void Button1_Click(object sender, EventArgs e) 
    { 
        foreach (GridDataItem dataItem in RadGrid1.MasterTableView.Items) 
        { 
            dataItemdataItem.Visible = dataItem.Selected;             
        } 
        RadGrid1.MasterTableView.ExportToExcel(); 
    } 
Is there a way to send those selected rows  to a textbox/panel/other control?  Like:

RadGrid1.MasterTableView.FindControl(TextBox1.ClientID);  etc.

Probably a simple solution, but I am not very good at this.  Thanks.

Tom

Joe
Top achievements
Rank 1
 answered on 08 Jul 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?