Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
257 views
In certain situation we need to pass data from webpart to another webpart present in the same site. To implement the connection functionality between WebParts, we should create an Interface .This interface will be implemented by both the provider and consumer classes.
 
Then we will use the ConnectionProvider and ConnectionConsumer attribute to make the connection between the two webpart.

EXAMPLE:
1.  Interface :  
  
    public interface Test
    {
        string Name { get; set; }
    }

Thanks,
Bijayani

Pistle
Top achievements
Rank 1
Veteran
 answered on 01 Oct 2020
2 answers
735 views

We are working on a custom web form for SharePoint 2013. It is a visual web part and have a form which have several telerik controls. It is a big form. Earlier we developed it in Visual Studio 2012 and now we are working Visual Studio 2013. Now issue is, It is not generating designer file i.e. ascx.g.cs and giving error on every build. When we checked designer file, it is empty. We tried every possible solutions but not able to generate designer file and Visual Studio hangs if we open ascx file in design mode.

Please help immediately.

Thanks,

 

Pistle
Top achievements
Rank 1
Veteran
 answered on 01 Oct 2020
19 answers
435 views

We are using telerik version 2017.2.711.45 in our application. We are currently experiencing an issue in IE 11 with Radbutton when rendered as 'lightweight' mode does not display the icons. After some research I found that enabling the font download in the internet explorer settings fixes the issue, but as part of admin policy we are not allowed to make this settings change.

Can you please provide any work around for this.

 

James
Top achievements
Rank 1
 answered on 01 Oct 2020
8 answers
1.7K+ views
Hi!

I use the file explorer and have a problem I can't find a solution for.
In my file explorer I list my App_Themes folder. Is there a way to set file extensions that are allowed in specific folders at upload?
I just want to enable upload of .css-files in the /css folder and only images such as .jpg, .gif, .png etc in the /images folder.

Is there functionality in file explorer or upload control to help me with my problem.

Maybe I can use some of the javascript events, but I hope there is a simpler solution.

Regards

Christian Persson
Vessy
Telerik team
 answered on 30 Sep 2020
3 answers
134 views

Hi,

I try to filter radgrid data and get below exception

 

Unhandled exception at line 6, column 85898 in http://localhost:29227/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-IN:4feca508-514b-48c0-a162-7fa9c360d783:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2018.1.117.45,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-IN:6d514cb9-2739-4112-a25a-b6efc64747ba:16e4e7cd:ed16cbdc:33715776:58366029:f7645509:24ee1bba:f46195d3:8674cba1:7c926187:88144a7a:b7778d6c:c08e9f8a:e085fe68:2003d0b8:c128760b:1e771326:aa288e2d:258f1c72:59462f1:a51ee93e:e330518b:c8618e41:e4f8f289:1a73651d:333f8d94:874f8ea2:b2e06756:92fe8ea0:fa31b949:4877f69a:19620875:490a9d4e:bd8f85e4:6b3f73b3:6d43f6d9
0x80070057 - JavaScript runtime error: Invalid argument. occurred

Harshal
Top achievements
Rank 1
 answered on 30 Sep 2020
4 answers
155 views

Im using two radtextboxes within  GridTemplateColumns. Im trying to use an onblur event but when I make some tests for some reazon, the attached function is firing several times. What is causing this behavior?

Aspx

1.<telerik:GridTemplateColumn UniqueName="VisibleAccCode" HeaderText="Código Cuenta"
2. HeaderStyle-HorizontalAlign="Center"
3. ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="250px">
4.         <ItemTemplate>
5.                 <telerik:RadTextBox ID="TxtAccCode" runat="server" Width="85%"/>
6.         </ItemTemplate>
7.</telerik:GridTemplateColumn>
 

 

 

VB
01.
Dim TxtAccCode As RadTextBox = CType(item.FindControl("TxtAccCode"), RadTextBox)
02.Dim TxtAcctName As RadTextBox = CType(item.FindControl("TxtAcctName"), RadTextBox)
03. 
04.Dim sJsFunction As String
05. 
06.sJsFunction = "function (s,a){BuscarAccCode(s,a," & RowIndex & ");}"
07. 
08.If TxtAccCode IsNot Nothing Then
09.        TxtAccCode.ClientEvents.OnBlur = sJsFunction
10.End If
11. 
12.sJsFunction = "function (s,a){BuscarAccName(s,a," & RowIndex & ");}"
13. 
14.If TxtAcctName IsNot Nothing Then
15.         TxtAcctName.ClientEvents.OnBlur = sJsFunction
16.End If

 

Jscript

1.function BuscarAccCode(sender, eventArgs, rowIndex) {
2.            alert(sender.get_id() + ' index ' + rowIndex);
3.        }
4. 
5.function BuscarAccName(sender, eventArgs, rowIndex) {
6.            alert(sender.get_id() + ' index ' + rowIndex);
7.        }
Gilberto
Top achievements
Rank 1
Veteran
 answered on 30 Sep 2020
1 answer
249 views

Is there any other way to retrieve the client object of a RadNumericTextbox control without using server tags to get the ID? Otherwise, I always retrieve 'null' as the result of the selector.

E.g.:

$find("div[id$='_numTxt_wrapper']").attr("id"));

I also notice there is a <div> element with an id ending in "_wrapper".

Peter Milchev
Telerik team
 answered on 30 Sep 2020
22 answers
715 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
185 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
76 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
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?