Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
2.3K+ views
Hi,

I'm using Filtering option in a RadGrid. All is working fine but I cannot change the width value of the Filter control.
I try to change the width control of a GridBoundColumn but there are not available properties to do it.

How can I change Width of Filter control?

J-F Delisle
Princy
Top achievements
Rank 2
 answered on 19 Nov 2013
6 answers
540 views
Hi,
   I would like to know if there is any provision for setting format string in RadNumericTextBox while in the edit mode.  I mean if it is possible to provide something like "#####.##" so that the user will be able to enter a maximum of 5 digits before the decimal point and a maximum of 2 digits after the decimal point while in edit mode.  I don't like to use radMaskedTextBox because of poor user experience.  Given below is the code which I have given:

 <telerik:RadNumericTextBox ID="txtCrAmt" Text='<%# bind("cramt") %>' MinValue="0" MaxValue="99999999.99" MaxLength="11" DataType="System.Decimal" Culture="en-GB" AutoPostBack="false" ClientEvents-OnKeyPress="KeyPressed" EnabledStyle-HorizontalAlign="Right" runat="server">  

 <NumberFormat AllowRounding="false" DecimalDigits="2" DecimalSeparator="." GroupSeparator="," GroupSizes="3"   />
                           
 </telerik:RadNumericTextBox>

Alphonse
Jhonny
Top achievements
Rank 2
 answered on 18 Nov 2013
6 answers
182 views
I have a grid with conditional row coloring to indicate status.  I am also using the drag and drop functionality.  When I select rows, the row color is changed to indicate selected.  When I unselect rows, the original row colors are not restored.  Instead, the rows are set to white.  How can I preserve the original row colors?  Thank you.
Richard
Top achievements
Rank 1
 answered on 18 Nov 2013
5 answers
298 views
I know that there have been a few posts around this so I will try to keep this short. I have tried practically every solution without luck. Here is my situation.

I have a RadGrid control on Default.aspx page.  This RadGrid has an Edit Link which invokes RadWindow which opens
the CreateEdit.aspx page.  After making changes, when I hit Save, I want to RadWindow to close AND RadGrid in the Default.aspx ( Parent ) page to refresh.  I am able to save the changes but the RadGrid does not get updated.  When I refresh the Default.aspx page, I see the updated changes.

Can someone guide me step by step as to what needs to be done to implement this functionality.  ASP.net coding in c# or vb.net is easy, but when it comes to javascript, I get super confused.

Thanks,
Mk



Charles
Top achievements
Rank 2
 answered on 18 Nov 2013
1 answer
155 views
Files uploaded to Azure have a file name like 2b6267b8-9a59-4452-ae74-6413ba888970_MyPicture.jpg instead of MyPicture.jpg.  I can't find any setting to change this, so I want to find out if this is normal behavior.  I'm using:

<telerik:RadCloudUpload ID="RadCloudUpload1" runat="server" MultipleFileSelection="Automatic"
    AllowedFileExtensions=".jpg,.jpeg,.gif" ProviderType="Azure" MaxFileSize="3145728">
</telerik:RadCloudUpload>


Peter Filipov
Telerik team
 answered on 18 Nov 2013
6 answers
135 views

I'm using radGrid to show 10 rows and 1st column frozen.  I'm also using GridTemplateColumns.

Using an UpdatePanel with async trigger to initiate the results shows fine the first time...10 rows displayed + first column frozen.

Then, I click the same search again but this time, only 8 rows show and I lose the frozen 1st column.  The data scrolls left/right but the headers remain in place.

Once in this broken state I click paging or sort (grdSearchResult_PageIndexChanged or grdGSearchResult_SortCommand) which rebinds the data, it fixes itself and the frozen column is back.

I really want to know why the radGrid doesn't size itself to show all 10 rows and what may be going on differently in the PageIndexChanged events.  I have my radGrid Height set  but should I be using something in the CSS to it automatically sizes to fit all the data rows?

I can't duplicate this behavior in IE though.

David
Top achievements
Rank 1
 answered on 18 Nov 2013
1 answer
486 views

I am trying to implement a solution on a website where some pages have a RadTabStrip (with the MultiPageID set) with multiple tabs (with the PageViewID set).

When navigating to a page you can set the focus be set to a specific control that may be in a RadPageView.  If that is the case what is the best way to select the tab that corresponds to the page view that contains the control?

Basically when focus is set to a control in a RadPageView how do I make sure the rad tab is selected so that control can be seen on the page?

I can find the control on the page that needs focus and then find the parent RadPageView (and RadMultiPage), but I don't know of a good way to select the RadTab that corresponds to the RadPageView (since I don't know the ID of the RadTabStrip). 

Am I forced to recursively search through the controls on to the page to find the RadTabStrip (by type) and then find the tab that has the matching PageViewID?

Thanks!

Boyan Dimitrov
Telerik team
 answered on 18 Nov 2013
1 answer
163 views
This is possibly related to this thread: http://www.telerik.com/community/forums/aspnet-ajax/async-upload/ie8-multiplefileselection-and-uploadedfilesrendering-belowfileinput-error.aspx

When I use RadSyncUpload with UploadedFilesRendering="BelowFileInput", when I click "Cancel' in any of the files currently being uploaded, it throws a javascript error.

TypeError: p.map[(o - q)] is undefined
at "}else{delete p.map[o-q].file;"

This occurs in all browsers. I tested this when the control was working in FileAPI mode and Silverlight mode. In all the cases this error comes up. In Silverlight mode the error comes up as "System.NullReferenceException: [Arg_NullReferenceException]".

I'm also using MultipleFileSelection="Automatic" and I absolutely need multiple file selection if the browser supports it.

The error does not occur when I set UploadedFilesRendering="AboveFileInput".

Telerik version: 2012.2.607.35

Is there a workaround for this?
Hristo Valyavicharski
Telerik team
 answered on 18 Nov 2013
3 answers
158 views

Hi,

Using Visual Studio 2012 RC,  I added new  sharepoint 2010 Project & try to add  New Reporting item  (Show in screen shot)

It shows me following error message:-

Error loading workflow

An error occured while loading the workflow. Please correct the following error and try reloading the document to view the workflow.

the designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: Report1. The base class Report1 for the class needs to be an Activity.

Stef
Telerik team
 answered on 18 Nov 2013
2 answers
463 views
Hello all.  I am having an issue with a radwindow that I haven't seen here.  It's probably something simple that I need to do, but cannot seem to figure it out.

My issue is this:

I have A radwindow

<telerik:RadWindow runat="server" ShowContentDuringLoad="False" ReloadOnShow="true" Title="Trend Report - Select Scope Objects"
    AutoSize="false" ID="RadWindowAddTrendScopeObjects" Width="500px" Height="445px" Modal="true"
    OnClientClose="OnClientCloseAddTrendScopeObjectsWindow" Behavior="Default" InitialBehaviors="None"
    Behaviors="Close,Move" DestroyOnClose="true">
</telerik:RadWindow>

I initialize the NavigateURL on page load as follows:
assessmentID = new Guid(ddlDataSource.SelectedValue);
RadWindowAddScopeObjects.NavigateUrl = addScopeURL + assessmentID.ToString() + "&LinkID1=" + cachedUser.User.UserID.ToString();                

I open it using a lnk button and the javascript below and it works like a charm

 

<asp:LinkButton ID="lnkBtnTrendSelectScopeItems" runat="server" Text="Click Here"

 

 

OnClientClick="openAddTrendScopeObjectsWindow(); return false;"></asp:LinkButton>

 

(Javascript below)



function
openAddTrendScopeObjectsWindow() {

 

 

var oWnd = $find("<%= RadWindowAddTrendScopeObjects.ClientID %>");

 

oWnd.show();

}


The problem happens when I try to modify the navigateURL and then reopen the radwindow
protected void ddlTrendAssessmentBasedScope_SelectedIndexChanged(object sender, EventArgs e)
{
    trendAssessmentID = new Guid(ddlTrendAssessmentBasedScope.SelectedValue);
    RadWindowAddTrendScopeObjects.NavigateUrl = addScopeURL + trendAssessmentID.ToString() + "&LinkID1=" + cachedUser.User.UserID.ToString();
}
If I change the dropdown, thus triggering the above code and changing the NavigateURL (verified in debug), then again clicking the lnkbutton lnkBtnTrendSelectScopeItems, the radWindow opens again with the orginal URL still in place.

Thanks in advance for your help!
Clint

Dave
Top achievements
Rank 1
 answered on 18 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?