This is a migrated thread and some comments may be shown as answers.

Unhandled exception Telerik.Web.UI.WebResource.axd

19 Answers 821 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Olga
Top achievements
Rank 1
Olga asked on 11 Jan 2014, 04:46 AM
Good time of day.
I'm facing a problem with asp.net and Telerik. I'm new to asp.net,  I was developing a project on my Windows 7 machine and everything was working fine, at list I wasn't getting any errors, and project behavior was as designed. However, after upgrading to Windows 8.1 Pro, and running a project on the same version of VS (VS 2013 Express), I got this error when I just run Web App:

Unhandled exception at line 6, column 74203 in http://localhost:50894/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ContentPlaceHolder1_script_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:d618f02c-bda7-40f1-bb64-308e08f719c3:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2012.3.1308.40,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:0c62baaa-fecc-4eb5-91ff-e3de59bf8f40:e330518b:16e4e7cd:f7645509:24ee1bba:2003d0b8:1e771326:c8618e41:7165f74:78b9daca:58366029:8674cba1:7c926187:b7778d6c:c08e9f8a:f46195d3:aa288e2d:e4f8f289:a51ee93e:59462f1:874f8ea2:19620875:490a9d4e:bd8f85e4:ed16cbdc

0x800a138f - JavaScript runtime error: Unable to set property 'control' of undefined or null reference

This project works absolutely fine on my old machine (I tried to swap old HDD with Windows 7), but on two Windows 8.1 Pro machines running with the same error. 
In Chrome browser, it doesn't shows this error, but if open developer tools, I can see that Javascript error: Unable to set property 'control' of undefined or null reference, is there. And in Internet Explorer in throws the exception as above. It seems like there could versions compatibility issues, but not really sure, as I have small experience working with ASP.
 Any help is appreciated. I was going to migrate to Windows 8.1, and really don't want to swap Hard Drives when I need to work on this project.
Thank you

19 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 14 Jan 2014, 08:54 AM
Hi Olga,

What is the browser where you get this error? It is quite a strange one and it should not occur on a properly working page.

What I see is that you are using a rather old version of the controls (2012.3.1308) that does not support new browsers like IE11. Thus, I would advise upgrading to the latest (Q2 2013 SP1 at present) and checking if the issue persists. If so, look for JavaScript errors prior to the one from our controls. It is likely that .NET4 does not properly recognize IE11 which is likely to break the page. Details on that are available in this blog post. If this still does not resolve the problem I advise that you open a ticket and send us a page we can run and inspect the problem, so we can actually debug it.


Regards,
Marin Bratanov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Olga
Top achievements
Rank 1
answered on 17 Jan 2014, 05:00 AM
Hello Marin,

Thank you for your reply. However I couldn't get it to work. I've tried the emulation mode in the IE11, but it throws the same exception. And as you described such issues in suggested blog, main problem with my application is broken layout. I'm usually working in the Chrome, and it's not throwing the exception in the application itself, however in browser's console I can see the javascript error, and the layout of the page is also broken, the same way as in the IE11. I've also tried to change the target framework to 4.5, which didn't help as well. I have all latest updates installed on my machine, so it shouldn't be the case, unless there is some kind of update actually cause this. 
The upgrade to newer version of controls may help, but there is no possibility for that at this moment.

There is any other solution available which I can try?

Regards,
Olga
0
Marin Bratanov
Telerik team
answered on 20 Jan 2014, 02:24 PM
Hello Olga,

I am afraid IE11 and the new versions of Chrome brought a great deal of changes (including breaking ones) and our controls need to be updated in order to support them. When Q3 2012 (that you are using) came out these browsers were not created yet, so we could not have tested and prepared for them.

You can try adding an x-ua compatible meta tag to put IE11 in IE9 or IE10 mode, but I cannot guarantee this will work. As for Chrome - I am not aware of a way to revert it to an older version, and even if that is achievable on your own machine you cannot for the end users to do this.

Thus, I strongly advise upgrading your RadControls version to the latest (Q3 2012 SP1 with SP2 just around the corner).
If that is not possible you can try removing pieces of the page until you can pinpoint the problematic content/control/logic and try to workaround it for IE11. If you can send us a sample that shows such a trimmed down version perhaps we could help, but I cannot guarantee this.


Regards,
Marin Bratanov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Olga
Top achievements
Rank 1
answered on 26 Jan 2014, 04:27 AM
Marin,
Thank you for support. I've tried older versions of Chrome and IE on my computer, but I'm facing same problems. Could it be problems with dotNet and asp for windows 8.1? As far as I understand it has to be different platforms.
Here is the example of the result I'm getting with Chrome Browser on Windows 8.1 compared to the correct result from Windows 7 PC.
The thing is, actually the layout on Windows 7 with IE11 and latest Chrome (32.x) absolutely correct. But on Windows 8.1 on the same IE11 and even older Chrome (31.x) I'm getting broken layout. So it seems like, browsers are not the issue, as far as I can notice.
Any help is appreciated, maybe somebody else has same issues.

Best regards,
Olga
0
Marin Bratanov
Telerik team
answered on 27 Jan 2014, 03:37 PM
Hello Olga,

I am not aware of reasons for such behavior and what I can advise at this point is the following:
- repair the .NET 4.5 installation
- reinstall the browsers
- examine the page for JavaScript errors and broken requests. It is possible that a MIME resource mapping from IIS8 is duplicated in the web.config of the site and causes issues with serving all static content like script files and images.
- try using our CDN:
  = http://www.telerik.com/help/aspnet-ajax/scriptmanager-cdn-support.html
  = http://www.telerik.com/help/aspnet-ajax/stylesheetmanager-cdn-support.html


Regards,
Marin Bratanov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
0
Accepted
Olga
Top achievements
Rank 1
answered on 01 Mar 2014, 11:14 PM
Hello Marin,

I finally found the solution to this problem. First of all the issue I had was that table view inside RadControls weren't rendered correctly, so instead of table attributes I had bunch of random <div>'s when I inspected with developer tools in chrome. So I was looking the solution in the internet, I found some people experienced similar issues. Apparently problem was related to Visual Studio for Web, and on the only PC where this project worked fine I had 2012 version, and on the others - 2013 version, where I had broken layout. The way to fix that problem was to add 

<add key="vs:EnableBrowserLink" value="false" />
inside appSettings section.

The problem is the new feature called Browser Link in VS2013.

But your dedication to this problem is appreciate.
Regards,
Olga

0
Marin Bratanov
Telerik team
answered on 05 Mar 2014, 12:07 PM
Hello Olga,

It is good to hear that you have managed to resolve the issue.
Indeed, there is a VS bug where webresource requests are blank when browser link is enabled, so the workaround you have found is the valid option.

I have taken the liberty of marking your post as the thread answer and making the important bits bold, so that anyone else with a similar problem will find the information easier.


Regards,
Marin Bratanov
Telerik

DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!

0
Satbir
Top achievements
Rank 1
answered on 14 Jun 2014, 09:13 PM
Thanks a ton Olga,

I was facing the same issue and was googling from last 3-4 days, but didn't find solution.
Today luckily i came across this post and the solution given by you solved my problem too.

Marin, you are right this is something that is related to VS, as my same solution was working fine with VS 2012 but not in VS 2013 and even VS 2013 Update 2 didn't fixed this.

Regards
Satbir



0
Troy
Top achievements
Rank 2
answered on 30 Mar 2016, 10:44 PM

This is still relevant. I just moved the last of my projects from VS 2010 to VS 2015 (I skipped the other versions, as I couldn't stand them!) and this particular project started throwing this error. I added the "...EnableBrowserLInk..." line and the issue is gone.

It may also be relevant to note, though, that the feature of being able to open multiple browsers at once with all of its intended functionality might not work as expected. I'm just guessing, though, as it isn't a feature I've really needed to this point, so I haven't tried it to find out. :)

0
louiebeck
Top achievements
Rank 2
answered on 08 Apr 2016, 12:41 PM
Could you disable the script combining  of the RadScriptManager and provide a live URL to your application so we could inspect the problem locally? In case the site contains private information, please open a support ticket and provide an URL there.
0
Nwaf
Top achievements
Rank 1
answered on 18 May 2016, 12:35 PM

<add key="vs:EnableBrowserLink" value="false" />
inside appSettings section.
The problem is the new feature called Browser Link in VS2013.

thank you Olga, this is work with me :)

0
Yenza
Top achievements
Rank 1
answered on 02 Sep 2016, 06:52 AM

Still a problem!! Using Telerik 2016 and VS2015.

Get the following crash:
Unhandled exception at line 8203, column 1 in http://localhost:50856/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;AjaxControlToolkit,+Version=4.1.60919.0,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en:ee051b62-9cd6-49a5-87bb-93c07bc43d63:ea597d4b:b25378d2;Telerik.Web.UI:en:4b258e7c-7002-4d3e-9fa4-709d417eed98:16e4e7cd:f7645509:22a6274a:24ee1bba:c128760b:19620875:4877f69a:874f8ea2:f46195d3:92fe8ea0:fa31b949:490a9d4e:2003d0b8:88144a7a:1e771326:e524c98b:e330518b:c8618e41:e4f8f289:1a73651d:333f8d94:6a6d718d:a7e79140:9151b61d:6b3f73b3:cda80b3:8e6f0d33:1f3a7489:4cd1fec6:77613e24:f0c58c30:9b7cc2d2:8d1fecce:ec7335e:c442ac3f:d944e0f6:69667591:6b6b9ee5:595e7652

0x800a138f - JavaScript runtime error: Unable to get property 'style' of undefined or null reference

 

which is the following, i == null:

var i=g.get(0).parentNode;
i.style.zoom="normal";

 

PS: tried the solution mentioned above (enablebrowserlink) but did not solve this problem.


0
Marin Bratanov
Telerik team
answered on 02 Sep 2016, 07:23 AM

Hello,

This sounds like an error related to the functionality of the controls rather than the requests being broken by the VS features.

This line of code is related to treeview animations and the "i" variable from the minified scripts is the parent node of the current node.

With this in mind, I advise the following:

  1. try removing animations

    <telerik:RadTreeView CollapseAnimation-Type="None" ExpandAnimation-Type="None"></telerik:RadTreeView>
  2. ensure there are nodes in the tree before calling api methods related to expand/collapse
  3. see if this happens only in IE running in Compatibility mode (if so, make sure the browser is running in standards/edge mode)
  4. if nothing yields a resolution, isolate the issue in a small runnable example and send it to us so we can investigate it

 


Regards,

Marin Bratanov
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Yenza
Top achievements
Rank 1
answered on 05 Sep 2016, 01:58 PM

1. Removing them solved it but I want animations.

2. I checked our code and fiddled around a bit. Ended up changing one line which solved my problem:
FROM:

var refreshNode = function (node) {
        node.collapse();
        node.get_treeView().trackChanges();
        node.get_nodes().clear();
        node.set_expandMode(Telerik.Web.UI.TreeNodeExpandMode.WebService);
        node.get_treeView().commitChanges();
        node.expand();
    }

TO:

var refreshNode = function (node) {
        node.get_nodes().clear();
        node.collapse();
        node.get_treeView().trackChanges();
        node.set_expandMode(Telerik.Web.UI.TreeNodeExpandMode.WebService);
        node.get_treeView().commitChanges();
        node.expand();
    }

0
Marin Bratanov
Telerik team
answered on 07 Sep 2016, 08:17 AM

Hi,

I advise opening a support ticket and sending us a simple repro so we can review the case and advise accordingly.

Regards,

Marin Bratanov
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Madhu
Top achievements
Rank 1
answered on 02 Nov 2016, 05:29 PM

Hi Olga,

You saved my time.. that resolved my script issues.. 

 

Thank You,

Madhu

0
Fabio Cirillo
Top achievements
Rank 1
answered on 24 Feb 2017, 04:19 PM

Hello

i've this problem, when i open a page aspx and inside it open one radwindow to see the records, after close radwindow and close page. the site load this error:

http: // localhost: 54718 / 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 -E: 4bd8faf8-554d-46be-b2ff-c9d57adb612c: ea597d4b: b25378d2; Telerik.Web.UI, + Version = 2016.3.1027.45, + Culture = neutral, PublicKeyToken = + 121fae78165ba3d4: en-US: 920f05c9-fad1-4469- a141-2ec21334873b: 16e4e7cd: f7645509: 24ee1bba: c128760b: 874f8ea2: 19620875: b2e06756: f46195d3: 92fe8ea0: fa31b949: 4877f69a: 33715776: 490a9d4e: bd8f85e4: e330518b: 2003d0b8: 1e771326: 88144a7a: c8618e41: 1a73651d: 16d8629e: ed16cbdc: 6d43f6d9: b7778d6c: 58366029: e085fe68: 8e6f0d33: 864068a5: 6a6d718d: 6b3f73b3: c08e9f8a: aa288e2d: b092aa46

0x800a138f - Error run-time JavaScript: Can not retrieve the property '_events' a reference null or undefined

 

this is my code

 

html code:

<telerik:RadWindowManager ID="RadWindowManager2" runat="server" Skin="Office2010Blue">
        <Windows>
            <telerik:RadWindow ID="Clienti_Window" runat="server" Title="ARCHIVIO CLIENTI" ShowContentDuringLoad="false" VisibleStatusbar="false" Modal="true" Behaviors="Close, Move" Skin="Office2010Blue" AutoSize="true" CssClass="RadWindow_ModernBrowsers">
                <ContentTemplate>
                    <asp:Panel ID="Panel3" runat="server" DefaultButton="ImageButton4">
                        <div>
                            <table>
                                <tr>
                                    <td>Cerca:
                                    </td>
                                    <td>
                                        <telerik:RadTextBox ID="search_cognome_clie" Width="300px" MaxLength="30" runat="server" Skin="Bootstrap" EmptyMessage="Inserisci denominazione o Partita Iva"></telerik:RadTextBox>
                                    </td>
                                    <td>
                                        <asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="../Icons/Icons_Menu/Icons_16/Search-16.png" />
                                    </td>
                                </tr>
                            </table>
                            <table>
                                <tr>
                                    <td>
                                        <telerik:RadGrid ID="RadGrid2" runat="server" AllowPaging="True" AutoGenerateColumns="False" Width="875px" Skin="Office2010Blue" Visible="true" PageSize="20"
                                            ShowStatusBar="True" AutoGenerateHierarchy="True" GroupPanelPosition="Top" CssClass="RadGrid_ModernBrowsers" ClientSettings-EnableRowHoverStyle="True" ClientSettings-EnableAlternatingItems="false">
                                            <PagerStyle />
                                            <ClientSettings EnableRowHoverStyle="True" EnableAlternatingItems="False">
                                                <Selecting AllowRowSelect="True" />
                                            </ClientSettings>
                                            <MasterTableView NoMasterRecordsText="Nessun dato presente" Font-Names="Calibri" Font-Size="10.5">
                                                <Columns>
                                                    <telerik:GridButtonColumn ButtonType="ImageButton" CommandArgument="seleziona" CommandName="seleziona" FilterControlAltText="Filter modifica column" ImageUrl="../icons/icons_menu/icons_16/Folder-Open-16.png" UniqueName="seleziona" Text="Apri">
                                                        <HeaderStyle Width="25px" />
                                                        <ItemStyle HorizontalAlign="Center" Height="30px"/>
                                                    </telerik:GridButtonColumn>
                                                    <telerik:GridBoundColumn DataField="Id_clie" FilterControlAltText="Filter stato column" HeaderText="IDCLIE" UniqueName="Id_clie" Display="false">
                                                        <HeaderStyle Width="0px" />
                                                        <ItemStyle HorizontalAlign="Left" Height="30px"/>
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="clie_denominazione" FilterControlAltText="Filter column column" HeaderText="DENOMINAZIONE" UniqueName="clie_denominazione">
                                                        <HeaderStyle Width="405px" Font-Bold="true" CssClass="color"/>
                                                        <ItemStyle HorizontalAlign="Left" ForeColor="Black" Height="30px" Wrap="false"/>
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="tipologia" FilterControlAltText="Filter column column" HeaderText="TIPOLOGIA" UniqueName="tipologia">
                                                        <HeaderStyle Width="300px" Font-Bold="true" CssClass="color" />
                                                        <ItemStyle HorizontalAlign="Left" ForeColor="Black" Height="30px"/>
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="cliente" FilterControlAltText="Filter stato column" HeaderText="CLIENTE" UniqueName="cliente">
                                                        <HeaderStyle Width="70px" CssClass="color" Font-Bold="true"/>
                                                        <ItemStyle HorizontalAlign="Left" ForeColor="Black" Height="30px"/>
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="status" FilterControlAltText="Filter stato column" HeaderText="STATUS" UniqueName="status">
                                                        <HeaderStyle Width="75px" CssClass="color" Font-Bold="true"/>
                                                        <ItemStyle HorizontalAlign="Left" ForeColor="Black" Height="30px"/>
                                                    </telerik:GridBoundColumn>
                                                </Columns>
                                                <PagerStyle AlwaysVisible="true" />
                                            </MasterTableView>
                                            <PagerStyle ChangePageSizeButtonToolTip="Cambia grandezza pagina" FirstPageToolTip="Prima pagina" GoToPageButtonToolTip="Vai a pagina"
                                                LastPageToolTip="Ultima pagina" NextPagesToolTip="Prossime pagine" NextPageToolTip="Prossima pagina" PagerTextFormat="Cambia pagina: {4} &nbsp;Page <strong>{0}</strong> of <strong>{1}</strong>, items <strong>{2}</strong> to <strong>{3}</strong> of <strong>{5}</strong>."
                                                PageSizeLabelText="Nr. righe" PrevPagesToolTip="Pagine precedenti" PrevPageToolTip="Pagina precedente" Mode="NextPrev" PageSizeControlType="None" />
                                            <PagerStyle Mode="NextPrev" />
                                            <StatusBarSettings LoadingText="Caricamento..." ReadyText="Pronto" />
                                        </telerik:RadGrid>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </asp:Panel>
                </ContentTemplate>
            </telerik:RadWindow>
        </Windows>   
</telerik:RadWindowManager>

 

and vb code to call the radwindow:

readrecord(id_ist.Text)
Dim script As String = "function f(){$find(""" + Clienti_Window.ClientID + """).show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);"
ScriptManager.RegisterStartupScript(Me, Me.[GetType](), "key", script, True)

 

how do I fix? Use vs 2015 Telerik demo 2016, because if it all works can I buy the license :)

0
Naresh
Top achievements
Rank 1
answered on 15 Jun 2017, 07:56 PM

Hi..

Got an issue with Telerik 2015 for IE 11.

"TypeError: Unable to get property '_ScriptLoaderTask' of undefined or null reference\n   at Sys._ScriptLoader.prototype._loadScriptsInternal (http://localhost:61630/Web/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-CA%3a4bd8faf8-554d-46be-b2ff-c9d57adb612c%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2015.1.225.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-CA%3a48e0f2bb-99f7-43cd-9b8e-5b9bce752872%3a16e4e7cd%3aed16cbdc%3af7645509%3a88144a7a%3a874f8ea2%3a24ee1bba%3af46195d3%3ac128760b%3a19620875%3acda80b3%3a383e4ce8%3ac172ae1e%3a9cdfc6e7%3ae330518b%3a2003d0b8%3a1e771326%3ac8618e41%3ae4f8f289%3a1a73651d%3a333f8d94%3a58366029%3aaa288e2d%3a258f1c72%3a92fe8ea0%3afa31b949%3a4877f69a%3a490a9d4e%3abd8f85e4%3a6d43f6d9:15:4751)\n   at Sys._ScriptLoader.prototype._loadScriptsInternal (http://localhost:61630/Web/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-CA%3a4bd8faf8-554d-46be-b2ff-c9d57adb612c%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2015.1.225.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-CA%3a48e0f2bb-99f7-43cd-9b8e-5b9bce752872%3a16e4e7cd%3aed16cbdc%3af7645509%3a88144a7a%3a874f8ea2%3a24ee1bba%3af46195d3%3ac128760b%3a19620875%3acda80b3%3a383e4ce8%3ac172ae1e%3a9cdfc6e7%3ae330518b%3a2003d0b8%3a1e771326%3ac8618e41%3ae4f8f289%3a1a73651d%3a333f8d94%3a58366029%3aaa288e2d%3a258f1c72%3a92fe8ea0%3afa31b949%3a4877f69a%3a490a9d4e%3abd8f85e4%3a6d43f6d9:15:4789)\n   at Sys._ScriptLoader.prototype._nextSession (http://localhost:61630/Web/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-CA%3a4bd8faf8-554d-46be-b2ff-c9d57adb612c%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2015.1.225.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-CA%3a48e0f2bb-99f7-43cd-9b8e-5b9bce752872%3a16e4e7cd%3aed16cbdc%3af7645509%3a88144a7a%3a874f8ea2%3a24ee1bba%3af46195d3%3ac128760b%3a19620875%3acda80b3%3a383e4ce8%3ac172ae1e%3a9cdfc6e7%3ae330518b%3a2003d0b8%3a1e771326%3ac8618e41%3ae4f8f289%3a1a73651d%3a333f8d94%3a58366029%3aaa288e2d%3a258f1c72%3a92fe8ea0%3afa31b949%3a4877f69a%3a490a9d4e%3abd8f85e4%3a6d43f6d9:15:5238)\n   at Sys._ScriptLoader.prototype._loadScriptsInternal (http://localhost:61630/Web/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-CA%3a4bd8faf8-554d-46be-b2ff-c9d57adb612c%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2015.1.225.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-CA%3a48e0f2bb-99f7-43cd-9b8e-5b9bce752872%3a16e4e7cd%3aed16cbdc%3af7645509%3a88144a7a%3a874f8ea2%3a24ee1bba%3af46195d3%3ac128760b%3a19620875%3acda80b3%3a383e4ce8%3ac172ae1e%3a9cdfc6e7%3ae330518b%3a2003d0b8%3a1e771326%3ac8618e41%3ae4f8f289%3a1a73651d%3a333f8d94%3a58366029%3aaa288e2d%3a258f1c72%3a92fe8ea0%3afa31b949%3a4877f69a%3a490a9d4e%3abd8f85e4%3a6d43f6d9:15:4889)\n   at Sys._ScriptLoader.prototype._scriptLoadedHandler (http://localhost:61630/Web/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-CA%3a4bd8faf8-554d-46be-b2ff-c9d57adb612c%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2015.1.225.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-CA%3a48e0f2bb-99f7-43cd-9b8e-5b9bce752872%3a16e4e7cd%3aed16cbdc%3af7645509%3a88144a7a%3a874f8ea2%3a24ee1bba%3af46195d3%3ac128760b%3a19620875%3acda80b3%3a383e4ce8%3ac172ae1e%3a9cdfc6e7%3ae330518b%3a2003d0b8%3a1e771326%3ac8618e41%3ae4f8f289%3a1a73651d%3a333f8d94%3a58366029%3aaa288e2d%3a258f1c72%3a92fe8ea0%3afa31b949%3a4877f69a%3a490a9d4e%3abd8f85e4%3a6d43f6d9:15:5666)\n   at Anonymous function (http://localhost:61630/Web/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-CA%3a4bd8faf8-554d-46be-b2ff-c9d57adb612c%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2015.1.225.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-CA%3a48e0f2bb-99f7-43cd-9b8e-5b9bce752872%3a16e4e7cd%3aed16cbdc%3af7645509%3a88144a7a%3a874f8ea2%3a24ee1bba%3af46195d3%3ac128760b%3a19620875%3acda80b3%3a383e4ce8%3ac172ae1e%3a9cdfc6e7%3ae330518b%3a2003d0b8%3a1e771326%3ac8618e41%3ae4f8f289%3a1a73651d%3a333f8d94%3a58366029%3aaa288e2d%3a258f1c72%3a92fe8ea0%3afa31b949%3a4877f69a%3a490a9d4e%3abd8f85e4%3a6d43f6d9:6:298)\n   at Sys._ScriptLoaderTask.prototype._scriptLoadHandler (http://localhost:61630/Web/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-CA%3a4bd8faf8-554d-46be-b2ff-c9d57adb612c%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2015.1.225.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-CA%3a48e0f2bb-99f7-43cd-9b8e-5b9bce752872%3a16e4e7cd%3aed16cbdc%3af7645509%3a88144a7a%3a874f8ea2%3a24ee1bba%3af46195d3%3ac128760b%3a19620875%3acda80b3%3a383e4ce8%3ac172ae1e%3a9cdfc6e7%3ae330518b%3a2003d0b8%3a1e771326%3ac8618e41%3ae4f8f289%3a1a73651d%3a333f8d94%3a58366029%3aaa288e2d%3a258f1c72%3a92fe8ea0%3afa31b949%3a4877f69a%3a490a9d4e%3abd8f85e4%3a6d43f6d9:6:94283)\n   at Anonymous function (http://localhost:61630/Web/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-CA%3a4bd8faf8-554d-46be-b2ff-c9d57adb612c%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2015.1.225.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-CA%3a48e0f2bb-99f7-43cd-9b8e-5b9bce752872%3a16e4e7cd%3aed16cbdc%3af7645509%3a88144a7a%3a874f8ea2%3a24ee1bba%3af46195d3%3ac128760b%3a19620875%3acda80b3%3a383e4ce8%3ac172ae1e%3a9cdfc6e7%3ae330518b%3a2003d0b8%3a1e771326%3ac8618e41%3ae4f8f289%3a1a73651d%3a333f8d94%3a58366029%3aaa288e2d%3a258f1c72%3a92fe8ea0%3afa31b949%3a4877f69a%3a490a9d4e%3abd8f85e4%3a6d43f6d9:6:298)\n   at b (http://localhost:61630/Web/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-CA%3a4bd8faf8-554d-46be-b2ff-c9d57adb612c%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2015.1.225.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-CA%3a48e0f2bb-99f7-43cd-9b8e-5b9bce752872%3a16e4e7cd%3aed16cbdc%3af7645509%3a88144a7a%3a874f8ea2%3a24ee1bba%3af46195d3%3ac128760b%3a19620875%3acda80b3%3a383e4ce8%3ac172ae1e%3a9cdfc6e7%3ae330518b%3a2003d0b8%3a1e771326%3ac8618e41%3ae4f8f289%3a1a73651d%3a333f8d94%3a58366029%3aaa288e2d%3a258f1c72%3a92fe8ea0%3afa31b949%3a4877f69a%3a490a9d4e%3abd8f85e4%3a6d43f6d9:6:57473)"

 

 

0
Naresh
Top achievements
Rank 1
answered on 15 Jun 2017, 08:01 PM

please source code..Sorry it's too long.

 

             <telerik:radajaxmanagerproxy id="RadAjaxManagerProxy1" runat="server">
                                    <AjaxSettings>
                                        <telerik:AjaxSetting AjaxControlID="grdCustomerSearch">
                                            <UpdatedControls>
                                                <telerik:AjaxUpdatedControl ControlID="grdCustomerSearch" />
                                            </UpdatedControls>
                                        </telerik:AjaxSetting>
                                    </AjaxSettings>
                                </telerik:radajaxmanagerproxy>
                                <telerik:radgrid id="grdCustomerSearch" runat="server"
                                    autogeneratecolumns="False"
                                    pagesize="100" onneeddatasource="grdCustomerSearch_NeedDataSource"
                                    onitemdatabound="grdCustomerSearch_ItemDataBound"
                                    onitemcommand="grdCustomerSearch_ItemCommand"
                                    onitemcreated="grdCustomerSearch_ItemCreated"
                                    onprerender="grdCustomerSearch_PreRender"
                                    width="100%"
                                    allowsorting="True"
                                    allowpaging="True"
                                    cellspacing="0"
                                    allowmultirowselection="True"
                                    gridlines="None"
                                    skin="Default">
                                    <PagerStyle CssClass="RadGridPager" AlwaysVisible="true" Visible="true"></PagerStyle>
                                    <MasterTableView AllowMultiColumnSorting="true" DataKeyNames="ID" HeaderStyle-BorderStyle="Solid" HeaderStyle-Font-Names="Arial" HeaderStyle-Font-Bold="true">
                                        <Columns>
                                            <telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn">
                                                <HeaderTemplate>
                                                    <asp:CheckBox ID="headerChkbox" OnCheckedChanged="ToggleSelectedState" AutoPostBack="True" runat="server"></asp:CheckBox>
                                                </HeaderTemplate>
                                                <ItemTemplate>
                                                    <asp:CheckBox ID="chkSearchedUser" OnCheckedChanged="ToggleRowSelection"  AutoPostBack="True" runat="server"></asp:CheckBox>
                                                     <asp:HiddenField ID="hdnID" runat="server" Value='<%# Eval("ID") %>' />
                                                </ItemTemplate>
                                            </telerik:GridTemplateColumn>
                                            <telerik:GridTemplateColumn UniqueName="TargetedPromoCustomer">
                                                <ItemTemplate>
                                                    <asp:Image runat="server" ID ="imgTargetedPromoCustomer" ImageUrl ="~/Images/imgTargetedPromo.png" Visible="false" />
                                                </ItemTemplate>
                                            </telerik:GridTemplateColumn>
                                            <telerik:GridTemplateColumn UniqueName="AccountHolderName" HeaderText="<%$ Resources:Resource, CUSTOMERSEARCH_CUSTOMERNAME%>">
                                                <ItemTemplate>
                                                    <asp:LinkButton ID="lnkbtnAccountHolderName" OnClick="lnkbtnAccountHolderName_Click" runat="server" />
                                                    <asp:HiddenField ID="hdfIsSuppress" runat="server" Value="0" />
                                                </ItemTemplate>
                                            </telerik:GridTemplateColumn>
                                           
                                            <telerik:GridBoundColumn SortExpression="UnitNbrNumeric" DataField="UnitNbrNumeric" UniqueName="UnitNbrNumeric" HeaderText="<%$ Resources:Resource, CUSTOMERSEARCH_SORTABLEUNITNO%>"></telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="SuitApt" DataField="SuitApt" UniqueName="UnitNo" HeaderText="<%$ Resources:Resource, CUSTOMERSEARCH_UNITNO%>"></telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="StreetNo" DataField="StreetNo" UniqueName="StreetNo" HeaderText="<%$ Resources:Resource, CUSTOMERSEARCH_STREETNO%>"></telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="StreetName" DataField="StreetName" UniqueName="StreetName" HeaderText="<%$ Resources:Resource, CUSTOMERSEARCH_STREETNAME%>"></telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="PostalCode" DataField="PostalCode" UniqueName="PostalCode" HeaderText="<%$ Resources:Resource, CUSTOMERSEARCH_POSTALCODE%>"></telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="Province" DataField="ShortProvinceName" UniqueName="Province" HeaderText="<%$ Resources:Resource, CUSTOMERSEARCH_PROVINCE%>"></telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="CableCondition" DataField="CableCondition" UniqueName="CableCondition" HeaderText="<%$ Resources:Resource, CUSTOMERSEARCH_CABLECONDITION%>"></telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="FeedType" DataField="FeedType" UniqueName="FeedType" HeaderText="<%$ Resources:Resource, CUSTOMERSEARCH_FEEDTYPE%>"></telerik:GridBoundColumn>
                                          
                                           

                                            <telerik:GridTemplateColumn UniqueName="CurrentProducts" HeaderText="<%$ Resources:Resource, CUSTOMERSEARCH_CURRENTPRODUCTS%>" ItemStyle-CssClass="tdnowrap">
                                                <ItemTemplate>
                                                    <asp:Image ID="ImgWireless" runat="server" ImageUrl="<%$ Resources:Resource, CUSTOMERSEARCH_CURRENTPRODUCTS_IMGWIRELESS%>" />
                                                    <asp:Image ID="ImgInternet" runat="server" ImageUrl="<%$ Resources:Resource, CUSTOMERSEARCH_CURRENTPRODUCTS_IMGINTERNET%>" />
                                                    <asp:Image ID="ImgRHP" runat="server" ImageUrl="<%$ Resources:Resource, CUSTOMERSEARCH_CURRENTPRODUCTS_IMGRHP%>" />
                                                    <asp:Image ID="imgTV" runat="server" ImageUrl="<%$ Resources:Resource, CUSTOMERSEARCH_CURRENTPRODUCTS_IMGTV%>" />
                                                    <asp:Image ID="ImgSHM" runat="server" ImageUrl="<%$ Resources:Resource, CUSTOMERSEARCH_CURRENTPRODUCTS_IMGSHM%>" />
                                                    <asp:Image ID="imgIPTV" runat="server" ImageUrl="<%$ Resources:Resource, CUSTOMERSEARCH_CURRENTPRODUCTS_IMGIPTV%>"  Visible="false"/>
                                                    <asp:Image ID="ImgMasterCard" runat="server" ImageUrl="<%$ Resources:Resource, CUSTOMERSEARCH_CURRENTPRODUCTS_IMGMASTERCARD%>" Visible="false" />
                                                </ItemTemplate>
                                            </telerik:GridTemplateColumn>
                                                                                       
                                            <telerik:GridBoundColumn SortExpression="BAN" DataField="BAN" UniqueName="BAN" HeaderText="<%$ Resources:Resource, CUSTOMERSEARCH_BAN%>"></telerik:GridBoundColumn>

                                            <telerik:GridBoundColumn SortExpression="PendingDisconnect" DataField="PendingDisconnect" UniqueName="PendingDisconnect" HeaderText="Pending Disconnect"></telerik:GridBoundColumn>

                                            <telerik:GridTemplateColumn UniqueName="StartOrder" HeaderText="<%$ Resources:Resource, CUSTOMERSEARCH_STARTORDER%>">
                                                <ItemTemplate>
                                                    <asp:ImageButton ID="imgbtnStartOrder" OnClick="imgbtnStartOrder_Click" runat="server" ImageUrl="~/Images/start-order-icon.png" AlternateText="" />
                                                </ItemTemplate>
                                            </telerik:GridTemplateColumn>

                                               <telerik:GridTemplateColumn UniqueName="BundleOrder" HeaderText="<%$ Resources:Resource, CUSTOMERSEARCH_BUNDLEORDER%>">
                                                <ItemTemplate>
                                                    <asp:ImageButton ID="imgbtnBundleOrder" OnClick="imgbtnBundleOrder_Click" runat="server" ImageUrl="~/Images/icon_bundle_calculator_small.png" AlternateText="" />
                                                </ItemTemplate>
                                            </telerik:GridTemplateColumn>
                                            <telerik:GridTemplateColumn UniqueName="SHMLeads" HeaderText="<%$ Resources:Resource, CUSTOMERSEARCH_SHMLEADS%>">
                                                <ItemTemplate>
                                                    <asp:ImageButton ID="imgbtnSHMLeads" OnClick="imgbtnSHMLeads_Click" runat="server" style="height:30px;width:30px" ImageUrl="~/Images/SHMLeadsIcons.png" AlternateText="" />
                                                </ItemTemplate>
                                            </telerik:GridTemplateColumn>
                                            <telerik:GridTemplateColumn UniqueName="IPTVPreOrderSaleLead" HeaderText="<%$ Resources:Resource, CUSTOMERSEARCH_IPTVPRESALELEADS%>">
                                                <ItemTemplate>
                                                    <asp:ImageButton ID="imgbtnIPTVPreSale" OnClick="imgbtnIPTVPreSale_Click" runat="server" style="height:30px;width:30px" ImageUrl="~/Images/IPTVPreSaleLeadsIcons.png" AlternateText="" />
                                                </ItemTemplate>
                                            </telerik:GridTemplateColumn>

                                            <telerik:GridButtonColumn ButtonType="ImageButton" HeaderText="<%$ Resources:Resource, CUSTOMERSEARCH_STARTORDER%>"
                                                FilterControlAltText="<%$ Resources:Resource, CUSTOMERSEARCH_STARTORDER%>" CommandName="StartOrder" ItemStyle-Height="12px" ItemStyle-Width="12px"
                                                ImageUrl="./Images/start-order-icon.png" UniqueName="StartOrder" Visible="false">
                                            </telerik:GridButtonColumn>

                                        </Columns>

                                        <EditFormSettings>
                                            <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
                                        </EditFormSettings>
                                    </MasterTableView>
                                    <PagerStyle PageSizeLabelText="<%$ Resources:Resource, COMMON_PAGESIZE%>" />
                                    <FilterMenu EnableImageSprites="False"></FilterMenu>
                                    <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"></HeaderContextMenu>

                                </telerik:radgrid>

 

 

Tags
General Discussions
Asked by
Olga
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Olga
Top achievements
Rank 1
Satbir
Top achievements
Rank 1
Troy
Top achievements
Rank 2
louiebeck
Top achievements
Rank 2
Nwaf
Top achievements
Rank 1
Yenza
Top achievements
Rank 1
Madhu
Top achievements
Rank 1
Fabio Cirillo
Top achievements
Rank 1
Naresh
Top achievements
Rank 1
Share this question
or