Hmm I don't see any problems. Perhaps check if the macro points to the correct usercontrol. Maybe test with a more simple usercontrol that only has a button or label or something.
It works fine when we remove the DB grid view. But when we add that grid view, it starts behaving like this. I mean to say, it's unable to load after that. Please guide me.
Well that means something goes wrong with the grid. Maybe you can try to debug it to see what goes wrong. It's not an Umbraco related problem so I'm sorry, but I don't think I help you any further.
I'm assuming you've built a simple test harness around your ASCX in a visual studio web application project? If it runs in a standard masterpage in VS then there's no reason why it wouldnt work ok in Umbraco.
I just tried it again. I created a ASPX page and hosted the usercontrol. When running from Visual Studio in IIS Express, it is showing this issue. But when I deployed it to Visual Studio development server, it was working fine.
The same issue is happening in umbraco server too. Please let me know, if I am missing any configuration settings or doing something wrong.
I really appreciate if you can help me resolving the said issue. Looking forward for your reply soon.
I just tried it again. I created a ASPX page and hosted the usercontrol. When running from Visual Studio in IIS Express, it is showing this issue. But when I deployed it to Visual Studio development server, it was working fine.
The same issue is happening in umbraco server too. Please let me know, if I am missing any configuration settings or doing something wrong.
I really appreciate if you can help me resolving the said issue. Looking forward for your reply soon.
User Control
How to solve this error?
Error loading userControl '~/usercontrols/jobrequirement.ascx'
You can probably find more info if you add ?umbDebugShowTrace=true to the querystring. Make sure that umbracoDebugMode is true in the web.config.
Jeroen
Hi Jeroen,
I am trayimg to ?umbDebugShowTrace=true in a web config. file.but showing same error but gateing a border.
Do you also have trace enabled in the web.config? Should look something like this:
<trace enabled="true" requestLimit="10" pageOutput="true" traceMode="SortByTime" localOnly="false" />
Jeroen
Hi Jeroen,
I tried the same as you mentioned but still its coming same.
Hmm did you check if the GridTestItem.ascx is in the usercontrols folder?
Jeroen
Hi Jeroen,
Yes it is there as shown below, also the dll is present in the bin folder.
Hi Jeroen,
please help.
Do you use a macro to place the usercontrol? Can you show the code of the template on which you use the usercontrol?
Jeroen
This is my News master page:
<%@ Master Language="C#" MasterPageFile="~/masterpages/umbMaster.master" AutoEventWireup="true" %>
<asp:Content ContentPlaceHolderID="cp_content" runat="server">
<div id="content" class="textpage">
<umbraco:Macro Alias="GridTestItem" runat="server"></umbraco:Macro>
</div>
</asp:Content>
This is my ascx file:
Hmm I don't see any problems. Perhaps check if the macro points to the correct usercontrol. Maybe test with a more simple usercontrol that only has a button or label or something.
Jeroen
Hi Jeroen,
It works fine when we remove the DB grid view. But when we add that grid view, it starts behaving like this. I mean to say, it's unable to load after that. Please guide me.
Well that means something goes wrong with the grid. Maybe you can try to debug it to see what goes wrong. It's not an Umbraco related problem so I'm sorry, but I don't think I help you any further.
Jeroen
Hi Sharad
I'm assuming you've built a simple test harness around your ASCX in a visual studio web application project? If it runs in a standard masterpage in VS then there's no reason why it wouldnt work ok in Umbraco.
Martin/
Hi Martin,
I want to load data in umbraco page.Please guide me step by step.
Regards,
sharad
Hi Martin,
I just tried it again. I created a ASPX page and hosted the usercontrol. When running from Visual Studio in IIS Express, it is showing this issue. But when I deployed it to Visual Studio development server, it was working fine.
The same issue is happening in umbraco server too. Please let me know, if I am missing any configuration settings or doing something wrong.
I really appreciate if you can help me resolving the said issue. Looking forward for your reply soon.
Thanks & Regards,
Sharad
Hi Jeroen,
I just tried it again. I created a ASPX page and hosted the usercontrol. When running from Visual Studio in IIS Express, it is showing this issue. But when I deployed it to Visual Studio development server, it was working fine.
The same issue is happening in umbraco server too. Please let me know, if I am missing any configuration settings or doing something wrong.
I really appreciate if you can help me resolving the said issue. Looking forward for your reply soon.
Thanks & Regards,
Sharad
is working on a reply...