Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
93 views
Hii,

I an using mvc3 application.
In this I am using telerik upload control

@(Html.Telerik().Upload()
        .Name("attachments")
        .Multiple((bool) ViewData["multiple"])
        .Async(async => async
            .Save("Save", "Home")
            .Remove("Remove", "Home")
            .AutoUpload((bool) ViewData["autoUpload"])
            
        )
        
)


I want that it upload three files with 20 mb filesize each.

when I had try for one file then it is giving this error.

Error! Remove operation failed. Unexpected response - see console."

Please any one its solutions.
hemlata
Top achievements
Rank 1
 asked on 16 Nov 2011
5 answers
247 views

Hi,
We using Telerik control RAD control for ASP.NET v2010.3.1109.40. We are facing a critical issue with the RADCHART control. When we enable the scroll bar, few of the graphs are not even visible. But when scroll bar is disabled, all the bar graphs comes up fine. Please have alook at the code snippet below and screen shots for better understanding.Your prompt help would be appreciated.
Thanks,
Code Snippet :

<telerik:RadChart ID="TaxYearsChart" runat="server" Width="350px"
SeriesOrientation="Horizontal" Legend-Appearance-Visible="false" AutoLayout="true"
ChartTitle-TextBlock-Text="Year by Tax Type">
<ClientSettings EnableZoom="false" ScrollMode="XOnly" XScale="2" /> <!--If we add this line the scroll bar comes but few bar graphs line just blow off.-->
<Appearance FillStyle-MainColor="White">
<Border Color="DarkGray" Visible="true" />
</Appearance>
<PlotArea EmptySeriesMessage-TextBlock-Text="No Audit Cycles to Display" EmptySeriesMessage-TextBlock-Appearance-TextProperties-Color="White">
<YAxis AxisMode="Extended" AutoScale="false" Step="5" MinValue="0">
</YAxis>
<Appearance FillStyle-MainColor="#BBCFE7" FillStyle-FillType="Solid" Dimensions-AutoSize="true">
</Appearance>
</PlotArea>
<Appearance FillStyle-MainColor="White">
</Appearance>
</telerik:RadChart>

Evgenia
Telerik team
 answered on 16 Nov 2011
2 answers
119 views
Hello,
                    iam using the following code,
 

 

<telerik:RadGrid AllowSorting="True" ID="grdTrackRedemptions" AllowPaging="True"  

 

runat="server" Skin="Office2007" AllowMultiRowEdit="false" GridLines="None" AutoGenerateColumns="False"  

 

ShowDesignTimeSmartTagMessage="False" Width="800px" AllowMultiRowSelection="true"  

 

PageSize="50" OnNeedDataSource="grdTrackRedemptions_NeedDataSource" OnPageIndexChanged="grdTrackRedemptions_PageIndexChanged"  

 

OnSortCommand="grdTrackRedemptions_SortCommand" OnItemDataBound="grdTrackRedemptions_ItemDataBound">  

 

<MasterTableView TableLayout="Auto" DataKeyNames="couponid,Id" CommandItemDisplay="Top"  

 

ClientDataKeyNames="couponid,Id"> <Columns>

 

<telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn" HeaderText="Redeemed">  

 

<ItemTemplate>

 

<asp:CheckBox ID="chk_redeemption" OnCheckedChanged="ToggleRowSelection" AutoPostBack="True"  

 

runat="server"></asp:CheckBox>  

 

</ItemTemplate

 

</telerik:GridTemplateColumn>  

 

<telerik:GridBoundColumn DataField="couponid" HeaderText="Cid" Display="False" SortExpression="couponid"  

 

UniqueName="couponid">  

 

<HeaderStyle Width="0px" />  

 

</telerik:GridBoundColumn></Columns>  

</telerik:GridBoundColumn>  

</Columns>
</
MasterTableView>  

</telerik:RadGrid>

Each click on the check box, i need to get the value of row ( ie, couponid) ?
Post backing occours when clicking on the check box ( ToggleRowSelection fires) 

 

protected void ToggleRowSelection(object sender, EventArgs e) 

{
           in this function how to get the grid's selected row value. 

 

  Thanks,

Bijo
Top achievements
Rank 1
 answered on 16 Nov 2011
3 answers
101 views
I am trying to use the skin objects for DNN. Specifically RadPanelBar, I want to display root level pages using a horizontal menu at the top of the page (currently using DNNMenu), and a vertical list on the side of the page to display child pages using RadPanelBar. Everything seems to work ok except when a page in the panel bar is clicked, it does not receive the .rpSelected class. I want to apply a style to the item that the user clicked to indicate the page in the panelbar the user is currently viewing.

 I have added the panelbar to my skin using the following statement:
<dnn:RadPanelbar runat="server" id"dnnPanelbar_sli" ShowOnlyCurrent="RootItem" Skin="sli" EnableEmbeddedSkins="false"  EnableEmbeddedBaseStylesheet="false" /> 

Any feedback would be appreciated.
Genady Sergeev
Telerik team
 answered on 16 Nov 2011
2 answers
114 views
Hi,

Does anyone know if there is anyway that you can change the transparency or even set the back color when using the tooltip with modality. I'm trying to completely blank the rest of my page don't want any transparency.

Many thanks,
Fraser
Fraser
Top achievements
Rank 1
 answered on 16 Nov 2011
5 answers
211 views
Hi,
I have a big problem on my gridview.... I load my gridview with a dataset in the OnNeedDataSource event. All seems ok.. But, when i filter one of the columns, i lose then my selection when i try to edit a record or when i change the page of my grid... It seems the every postback event makes lose every filter parameters.

Any idea ?
Riccardo
Top achievements
Rank 1
 answered on 16 Nov 2011
3 answers
77 views
Hello everybody,

I have a problem with setting the DropDownWidth property from server-side.

I use RadComboBox as a FilterTemplate on my RadGrid.

this is what I launch when I click RadComboBox:

protected void list_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)
        {
            Current_rcb_Width = 0;
            if (((RadComboBox)o).DataTextField == "nazwa_")
                ((RadComboBox)o).DataSource = GetDataTable("SELECT DISTINCT " + ((RadComboBox)o).DataTextField + jezyk + " as nazwa_ FROM katalog_produktow WHERE " + ((RadComboBox)o).DataTextField + jezyk + " LIKE '" + e.Text + "%' order by " + ((RadComboBox)o).DataTextField + jezyk);
            else
                ((RadComboBox)o).DataSource = GetDataTable("SELECT DISTINCT " + ((RadComboBox)o).DataTextField + " FROM katalog_produktow WHERE " + ((RadComboBox)o).DataTextField + " LIKE '" + e.Text + "%' order by " + ((RadComboBox)o).DataTextField);
 
 
            var cbox = ((RadComboBox)o);
            int MaxWidth = 0;
 
            foreach (DataRow row in (((RadComboBox)o).DataSource as DataTable).Rows)
            {
                int Width = TextWidth(row[((RadComboBox)o).DataTextField].ToString());
                if (Width > MaxWidth)
                {
                    MaxWidth = Width;
                }
            }
            cbox.DropDownWidth = new Unit(MaxWidth);
            ((RadComboBox)o).DataBind();
        }

and I checked that the code properly changed the DropDownWidth property but the size of the DropDown is still the same.
I believe I've put the code in wrong place. 

I tried using the code from:
http://www.telerik.com/community/code-library/aspnet-ajax/combobox/dynamic-dropdown-width.aspx

but it didn't work. It ran 2 times (don't know why).

During 1st time It doesn't find any Items in RadComboBox so it's setting the DropDownWidth as 155px (initial value from code).
During 2nd time it found all elements and calculated the proper width. It did set the property but on page it was still visible as 155px.

Here's my ComboBox code:

<telerik:RadComboBox ID="rcbnazwa" runat="server" ShowToggleImage="false" EnableLoadOnDemand="true" OnItemsRequested="list_ItemsRequested" OnDataBound="RadComboBox1_DataBound"
                                MarkFirstMatch="true" Skin="Office2007" OnSelectedIndexChanged="rcbContinents_SelectedIndexChanged" DataTextField="nazwa_" Font-Size="X-Small"
                                DataValueField="nazwa_" OnPreRender="rcbContinents_PreRender" AutoPostBack="true" Width="100%">
                            </telerik:RadComboBox>


Dimitar Terziev
Telerik team
 answered on 16 Nov 2011
4 answers
408 views
Hello,

In a RadWindow I thought I had interpreted the documentation correctly and added the following code to replace the default menu icon in the title bar. It is behaving as though the image was not found (in other words no menu icon but my image doesn't show either) but that doesn't seem likely as the path works fine for other css url statements. I have tried both image types.
.RadWindow .rwShadow .rwIcon
{
     background-image:url(Images/Icons/Rockies.ico) !important;   
}
 
.RadWindow .rwShadow .rwIcon
{
     background-image:url(Images/Icons/Rockies.png) !important;   
}

Just a little nudge in the right direction would be greatly appreciated.
JB
Ramjet
Top achievements
Rank 1
 answered on 16 Nov 2011
5 answers
166 views
I try to use RadWindow for display of a confirmdialog that enables the user to say yes or no to a question. This window is placed on the page within a RadWindowManager. The problem is, that the content on the page is centered using a style on the form-tag. The content is always 1022 pixel wide and 720 pixel high, so the form-tag looks like this:

<form name="form1" method="post" action="default.aspx" id="form1" style="position:absolute;left:50%;top:50%;margin-left:-511px;margin-top:-360px;">

When the style is set like this, then all content of the form is centered in the browser, even if the user changes the size of the browserwindow. Unfortunately the RadWindow is only centered horizontally (nearly), The top of the Window is above the top of the content.

I think the problem has to do with the absolute positioning of the elements. Has anyone an idea how i can have the content centered in the browser window and also have the RadWindow centered within the content?
Marin Bratanov
Telerik team
 answered on 16 Nov 2011
1 answer
104 views
Hi
I want to have a RadGrid editable with these properties:
1- Add and remove Row in client side.
2- Enter value of each column in client side without saving anything in database still user click Save button.
3- Manage client side keypress such as press Tab button that cause go to next column or next row in RadGrid.

How can i have it?
Shinu
Top achievements
Rank 2
 answered on 16 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?