Telerik Forums
UI for ASP.NET AJAX Forum
22 answers
752 views
Hello,

how can i programmatically resize all Columns of a RadGrid to fit?

Best Regards

Thomas
Vessy
Telerik team
 answered on 30 Sep 2020
2 answers
201 views
<telerik:RadAjaxLoadingPanel ID = "rdAjaxLoadingPanel" runat="server">
</telerik:RadAjaxLoadingPanel>
 
<telerik:RadAjaxPanel ID = "rdAjaxPanel" runat="server" LoadingPanelID="rdAjaxLoadingPanel" EnablePageHeadUpdate="false">
 
    <telerik:RadNotification RenderMode = "Lightweight" ID="rdNotification" runat="server" Position="Center"
        Width="330" Height="160" Animation="Fade" EnableRoundedCorners="true" EnableShadow="true" Style="z-index: 100000">
    </telerik:RadNotification>
 
    <telerik:RadTabStrip RenderMode = "Lightweight" runat="server" ID="rdTpEvents" MultiPageID="rdmlPage" SelectedIndex="0" Skin="Silk" OnTabClick="tabClick">
        <Tabs>
             
        </Tabs>
    </telerik:RadTabStrip>
 
 
    <telerik:RadMultiPage runat = "server" ID="rdmlPage" SelectedIndex="0" CssClass="outerMultiPage">
 
        <telerik:RadPageView runat = "server" ID="rdPgLatest">
            <div class="dwp-clear">
                  
            </div>
 
            <asp:DataList ID = "LatestEvents" runat="server" RepeatDirection="Vertical" Width="100%" OnItemCommand="LatestEvents_ItemCommand" DataKeyField="id"
                OnItemDataBound="LatestEvents_ItemDataBound">
                <ItemTemplate>
     
                        <div class="row">
                            <div class="col-md-12">
                                      <div class="text-center register" id="dvRgisterNow" runat="server">
                                           <asp:LinkButton ID = "lnkRegisterNow" runat="server" CommandName="RegisterNow" Text="Register Now"></asp:LinkButton>
                                               
                                       </div>
                                  </div>
                            </div>
     
                </ItemTemplate>
           
            </asp:DataList>
 
        </telerik:RadPageView>
 
    
    </telerik:RadMultiPage>
 
</telerik:RadAjaxPanel>

 

 

Hi, 

I have a asp LinkButton in RadAjaxPanel. The LinkButton initial text is "Register" and after a event happen it will change to "Unregister". After going to another pages and click on Browsers back button, the LinkButton text is "Register" and not "Unregister". This happen in IE but for Chrome and Mozilla it retain "Unregister" because of viewstate.

Please advise.

Thank you

 

 

 

 

Pistle
Top achievements
Rank 1
Veteran
 answered on 30 Sep 2020
3 answers
93 views

Hi,

I've been slightly confused as to how to use the installation file for a multi WFE Farm.

Installed on say, WFE 1 fine.

Looking at the GAC on WFE1, I also see the DLLs installed for Web.UI,Skins, Design and Ajax.SharePoint

 

Trying to install on WFE2 and it states the web parts are already installed (because of rpelication this is correct).

When looking on WFE2 the DLL' do not exist in the GAC. How do I install these?

(We do not have GACUTIL etc installed on the production server and am unable to deploy directly from our Development environment.

 

Thanks

Pistle
Top achievements
Rank 1
Veteran
 answered on 30 Sep 2020
17 answers
862 views
I am trying to test the functionality of Spreadsheet using the example at http://demos.telerik.com/aspnet-ajax/spreadsheet/examples/overview/defaultvb.aspx?show-source=true.

I am using Telerik version 2015.3.930.45 in vb.net.

This is pretty simple code and I am receiving the following error.  What am I missing?

-----------------------
Object reference not set to an instance of an object. 
  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

 Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error: 
 An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace: 
[NullReferenceException: Object reference not set to an instance of an object.]
   Telerik.Web.UI.SpreadsheetDocumentProvider.GetSheets() +72
   Telerik.Web.UI.RadSpreadsheet.PerformSelect() +110
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +30
   Telerik.Web.UI.RadSpreadsheet.EnsureDataBound() +98
   System.Web.UI.WebControls.BaseDataBoundControl.OnPreRender(EventArgs e) +22
   Telerik.Web.UI.RadDataBoundControl.OnPreRender(EventArgs e) +36
   Telerik.Web.UI.RadSpreadsheet.OnPreRender(EventArgs e) +79
   System.Web.UI.Control.PreRenderRecursiveInternal() +83
   System.Web.UI.Control.PreRenderRecursiveInternal() +155
   System.Web.UI.Control.PreRenderRecursiveInternal() +155
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974
------------------------------

Code snippets
aspx
   
<div>
    <telerik:RadSpreadsheet runat="server" ID="rssTest"></telerik:RadSpreadsheet>
</div>


aspx.vb
   
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
Dim provider As SpreadsheetDocumentProvider<br>       
Dim path As String = Server.MapPath("~/App_Data/20150530_C09_Schedule.xlsx")
provider = New SpreadsheetDocumentProvider(path)
rssTest.Provider = provider
End Sub

Vessy
Telerik team
 answered on 29 Sep 2020
4 answers
1.3K+ views

Is there any way to get radgrid grouping by a specific column?

Thanks,

d-cpt

 

 

Attila Antal
Telerik team
 answered on 29 Sep 2020
1 answer
113 views

Hello I am working in RadCloudUpload to upload files in amazon s3 server. It working with Single file (20MB) perfectly. But when I am trying  to open multiple files (ex: 10MB, 20MB, 5MB, 8MB) it is uploading only One or Two files at a time.Not all the files are uploaded. but If I am trying to upload files with smaller size (ex: 10KB, 2MB, 100KB, 3MB) then all the files are uploaded to S3 server. How to resolve this problem ?

<telerik:RadCloudUpload ID="RadCloudUpload1" runat="server" MaxFileSize="91943040" RenderMode="Lightweight"                 MultipleFileSelection="Automatic" OnClientFileUploaded="fileUploaded" OnFileUploaded="RadCloudUpload1_FileUploaded" ProviderType="Amazon"  >        </telerik:RadCloudUpload>


function fileUploaded(sender, args)
{          theForm.submit();            }


 protected void RadCloudUpload1_FileUploaded(object sender, CloudFileUploadedEventArgs args)
    {      
        long contentLenght = args.FileInfo.ContentLength;
        string contentType = args.FileInfo.ContentType;
        string keyName = args.FileInfo.KeyName;
        string originalName = args.FileInfo.OriginalFileName;
        args.IsValid = true;       
    }


<httpRuntime maxRequestLength="91943040" executionTimeout="3200" />

 

please help !!!

dulevo
Top achievements
Rank 1
 answered on 25 Sep 2020
5 answers
222 views

Hello,

When I run IMager manager in rad editor, I can't load css and get the error as shown. please show me another way to fix this problem, thanks

Vessy
Telerik team
 answered on 24 Sep 2020
4 answers
285 views
I have a grid that will display items and when you click on a row it's designed to redirect you to another page where you can edit that items data. My problem is that there is also a delete button that is to be in the row as well and when you click the delete button it fires the OnItemCommand event first which redirects before the delete can occur. So I'm looking for some direction here. If anyone can help I would greatly appreciate it.
Attila Antal
Telerik team
 answered on 24 Sep 2020
1 answer
153 views

     Not sure if this is even possible.

 

I have an update panel that fires off fine when a button is clicked and it shows "Processing request. Please wait...."

All fine and dandy.

Certain actions may take a while and I would like to be able to change the message content (attempting through threading and delegates) with status updates as to the background process.

 

Is this even remotely possible?

Peter Milchev
Telerik team
 answered on 24 Sep 2020
1 answer
399 views

I'm using the spreadsheet component for completing a template file. Several columns have dropdown box values to ensure known values.
Until now I was only able to use the mouse for opening a dropdown box + selecting a value.
The users asked me if there is also a keyboard shortcut way of opening the dropdown box and selecting a value for speeding up the data entry.

Peter Milchev
Telerik team
 answered on 24 Sep 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?