Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
73 views
Template column is binary Image,asycn upload  in grid when change the image particular row the image is change to all rows  code behind 

 this code {http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandradasyncupload/defaultcs.aspx?product=binaryimage } i can't understand pls help me another sample code


Maria Ilieva
Telerik team
 answered on 18 Feb 2014
4 answers
162 views
Hi,

I have a ASPX page, which when tried to open on Javascript wondow.open, the radchart is not displaying.
But when the URL (that is used in JavaScript) is pasted on the main window (IE), the radchart is displayed.

Please help!

Regards
Saroop
Saroop
Top achievements
Rank 1
 answered on 18 Feb 2014
1 answer
122 views
I am using rad scheduler and i want to fix the MinimumRowHeight of the scheduler.
I tried using MonthView-MinimumRowHeight="4", and it is working fine when MonthView-AdaptiveRowHeight="false"
But minimum row height property is not working when i set   MonthView-AdaptiveRowHeight="true".
Can any one please  guide me how to use both of these properties together.

<telerik:RadScheduler ID="RadScheduler1" runat="server" EnableDescriptionField="true" Width="800px" ReadOnly="True" 
                                OnAppointmentDataBound="RadScheduler1_AppointmentDataBound"  MonthView-VisibleAppointmentsPerDay="10"
                                SelectedView="MonthView"  Height="800px" MonthView-MinimumRowHeight="3" MonthView-AdaptiveRowHeight="true">
Shinu
Top achievements
Rank 2
 answered on 18 Feb 2014
1 answer
62 views
After click on shorting button in a column header name coming with white space.

Princy
Top achievements
Rank 2
 answered on 18 Feb 2014
1 answer
76 views
I have a grid where I am using an ItemTemplate column with a CheckBox for row selection. If one of the columns has a particular value the row should not be selected again and I disable the checkbox for that row in the ItemDataBound event. Another column in that same row has a long string value that I want to popup a form where I can format and display the string in a user friendly way. It was all working until I decided to disable the checkbox. Disabling the checkbox also diables the ability to select the row. Now when I try to get the value for the row it fails because RadGrid1.SelectedItems.Count is 0. Is there a way to get the index of the double clicked row, or leave selection of the row enabled?
Princy
Top achievements
Rank 2
 answered on 18 Feb 2014
1 answer
68 views
We are using RadContextMenu in our product.
I am using Contextmenu within Repeater, The problem I am facing is, I have tried to add client side events in itemdataboud and itemcreated but nothing works.
I am adding it like:
 contextMenu.Attributes.Add("OnItemClicked","return test1();");

But the test1 has never fired.
Note here that I don't care about sender and args parameters.
Can someone please tell me how to add client side attribute in server side code, although the above statement worked for other radcontrols like RadNumericTextbox.

Any help will be greatly appreciated, I have tried to find solutions for many hours now but nothing help, please.
Shinu
Top achievements
Rank 2
 answered on 18 Feb 2014
9 answers
895 views
I have a scenario where I have a RadTabStrip with 2 tabs and a RadMultiPage with 2 pages.  In the first page I have a RadGrid and the second page is a form. I am using RadAjaxManager to ajaxify the page. I want to be able to click an edit link from the RadGrid and have the multipage and tabstrip change to the form page.

The problem I am having is when I click on edit, the RadMultipage changes, but the RadTabStrip does not. If I take the RadAjaxManager out then it works correctly.

I have replicated the problem using a simple setup with just buttons in each page. Clicking the button should change both the RadTabStrip and RadMultipage.

Here is my aspx code
    <telerik:RadTabStrip ID="RadTabStrip1" runat="server"   
        MultiPageID="RadMultiPage1">  
        <Tabs> 
            <telerik:RadTab runat="server" Text="List">  
            </telerik:RadTab> 
            <telerik:RadTab runat="server" Text="Form">  
            </telerik:RadTab> 
        </Tabs> 
    </telerik:RadTabStrip> 
    <telerik:RadMultiPage ID="RadMultiPage1" runat="server">  
        <telerik:RadPageView ID="RadPageView1" runat="server">  
            List View<br /><br /> 
            <asp:Button ID="Button1" runat="server" Text="Go to Form View" /> 
         </telerik:RadPageView> 
        <telerik:RadPageView ID="RadPageView2" runat="server" Width="100%">  
            Form View<br /><br /> 
            <asp:Button ID="Button2" runat="server" Text="Go to List View" /> 
         </telerik:RadPageView> 
    </telerik:RadMultiPage> 
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"   
        Skin="Default" Transparency="1">  
    </telerik:RadAjaxLoadingPanel> 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"   
        DefaultLoadingPanelID="RadAjaxLoadingPanel1">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="RadTabStrip1">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" /> 
                    <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="RadMultiPage1">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" /> 
                    <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
 

Here is the code behind
    Protected Sub Page_Load(ByVal sender As ObjectByVal e As System.EventArgs) Handles Me.Load  
 
        If Not Page.IsPostBack Then 
            RadTabStrip1.SelectedIndex = 0  
            RadMultiPage1.SelectedIndex = 0  
        End If 
    End Sub 
 
    Protected Sub Button1_Click(ByVal sender As ObjectByVal e As System.EventArgs) Handles Button1.Click  
        RadTabStrip1.SelectedIndex = 1  
        RadMultiPage1.SelectedIndex = 1  
    End Sub 
 
 
    Protected Sub Button2_Click(ByVal sender As ObjectByVal e As System.EventArgs) Handles Button2.Click  
        RadTabStrip1.SelectedIndex = 0  
        RadMultiPage1.SelectedIndex = 0  
    End Sub 
 

If I take out the RadAjaxManager it works correctly.
Using the RadAjaxManager the RadTabStrip does not update.  Any ideas?

p.s. I have tried this with version 2009.2.701.20,  2009.2.826.20, 2009.3.1103.20 of  Telerik.Web.UI
Ambarish
Top achievements
Rank 1
 answered on 18 Feb 2014
1 answer
46 views
I have a RadGrid driven by a LinqToSQL data layer that returns a dataset for binding.  I also have custom paging implemented.  Under normal conditions the data layer only returns a page's worth of data, 10 to 15 records.  If a filter is entered, custom paging is turned off and the entire data set is returned.  Normally this is not a burden as the total data set is usually around 100 records or so and the users know that filtering slows things down a bit.

However I've just seen some behavior I can't explain.   The field most likely to be filtered on is a varchar(max), although for display purposes only the first 75 char are displayed. 

The problem is as follows: The filter works but only if a Refresh of the grid is done first.  (i.e. doing 2 filters in a row will not work.)  Otherwise it seems to hang. 
I've seen this same problem using both old and new versions of the RadGrid.  (Our production version is running a 2012 version.  I have the latest on my development machine.)  

What could I be missing?


As currently implemented the Refresh button calls the following code.
  
                RadGrid1.MasterTableView.SortExpressions.Clear();

                // Clear all filters
                foreach (GridColumn column in RadGrid1.MasterTableView.OwnerGrid.Columns)
                {
                    column.CurrentFilterFunction = GridKnownFunction.NoFilter;
                    column.CurrentFilterValue = string.Empty;
                }

                RadGrid1.MasterTableView.FilterExpression = string.Empty;

                RadGrid1.Rebind();
Princy
Top achievements
Rank 2
 answered on 18 Feb 2014
16 answers
245 views
Hi,
we are facing issue in radeditor hyperlink manager.
I tried setting the target window for the link using hyperlink manager. No matter which option you choose, the link only opens in a 'new window'. The other choices available in hyperlink manager such as 'same window ' or 'parent window' do not work.

by default 'target' value is getting saved as  'new window', when i am choosing any other options like 'parent window 'and after clicking ok it is modified as 'new window'. when I reopen the hyperlink manager I am only getting 'new window' but not the previous option what i have chosen.
can any one help me in finding the solution. currently we are using telerik version '2012.2.912.35' and i have given the EditModes="Design".

Thanks.
Ianko
Telerik team
 answered on 18 Feb 2014
1 answer
64 views
hi,



In editor I am trying to write some content. In that some words are
place on right hand side using tab key (i.e 4 time &nbsp;).

At design time it display properly but when I print that document the
right hand side words goes to  the next line or some time it comes in
middle of the page.

how I can solve this alignment problem??
Please check attachment images
"after print" : image after print content of editor on a4 page.
"Before print" : image at time of design in editor.


thank you.
Ianko
Telerik team
 answered on 18 Feb 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?