PDA

View Full Version : [CLOSED] Custom control works in development after deployment



rsnead
Feb 11, 2014, 8:11 AM
Hi

I have a custom control that is based on the SignalR example. There is a custom component built on the Ext.grid.Panel. While in the development environment, the control works as expected without any error. After deployment on two separate servers, the window control only shows a line across the top of the window, and the window does not position itself.


@(
X.Window()
.ID("windowPackageNotify")
.Width(500)
.Height(300)
.Modal(false)
.AnchorHorizontal("c")
.AnchorVertical("c")
.Icon(Icon.Table)
.Title("Package Notification")
.CloseAction(CloseAction.Destroy)
.Layout(LayoutType.Fit)
.Items(
Html.FB().PackageNotifyPanel().ID("packageNotify")
)
)

My question is: What should I be looking for as a possible issue? I can certainly share all of my code or any part that might be helpful. Again, keep in mind everything works perfectly in my development environment, it is only on those server where I have deployed.

Thank you
Russ

Daniil
Feb 11, 2014, 1:22 PM
Hi Russ,

There is, probably, a JavaScript error and/ or some JavaScript resource is not loaded. Please check up it up in the browser console (FireFox's FireBug or IE and Chrome Developer Tools).