|
whenever an exception happens, my browser reports this:
<br />
Server Error in '/' Application.<br />
Exception of type 'xxxxx.Util.ApplicationException' was thrown.<br />
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.<br />
<br />
Exception Details: xxxxx.Util.ApplicationException: Exception of type 'xxxxx.Util.ApplicationException' was thrown.<br />
<br />
Source Error:<br />
<br />
Line 175:<br />
Line 176: oExContext.Trace = new System.Diagnostics.StackTrace(true);<br />
Line 177: throw new ThinkFundamentals.Util.ApplicationException(ref oExContext, oInnerException);<br />
Line 178: }<br />
Line 179: }<br />
<br />
<br />
Source File: C:\dev\xxxxx\NET3.0\Util\ApplicationException.cs Line: 177<br />
<br />
Stack Trace:<br />
<br />
...<br />
System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e) +108<br />
System.Web.UI.WebControls.Login.AttemptLogin() +115<br />
System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +101<br />
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37<br />
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +118<br />
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +166<br />
...<br />
What I want to see most is ex.ToString() --- any chance I can see this on my browser? Perhaps through tweaking browser configuration? Or IIS config?
Thanks
dev
|
|
|
|
|
Implement your own custom error page. Handle the errors and report in a way you want. Read[^] this.
|
|
|
|
|
hey nava this is precisely what i need many thanks.
dev
|
|
|
|
|
I have one issue in my projects.im choosing any one of listitem from dropdown list before press the save button i had click the back button for that (firewox) browser.
after i had click on the front button of that browser,the choosed value was be bind into the dropdown list.please any one talented person consider my issue as well as give the tips and coding for solving my problem.
Thanks & Regards
S.GomathiDurga
|
|
|
|
|
shenbagasiva wrote: please any one talented person
Oops dropped out!
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
shenbagasiva wrote: after i had click on the front button of that browser,the choosed value was be bind into the dropdown list
What do you mean? Your question is not clear (may be not a talented person here ).
|
|
|
|
|
|
I'm using radgrid with page size of 5 when i try to set radgrid1.item(6).selected to true,it'll give index out of range exception. Is there any way to select the items beyound page size. Please help me out. .
|
|
|
|
|
rabia i think you will get better answer if you ask this question in telerik support forum...
Government Dyal Singh College Lahore.
|
|
|
|
|
Thanks for suggestion.
|
|
|
|
|
Actually I want to design menu like..
When we put mouse pointer on that label, list of subcategory is shown.
Just like in this website, put mouse pointer on "Articles" or "Message Boards", without clicking the list is shown.
How to do that??
Plzz reply me..
Thank you......
Regards,
Jay
|
|
|
|
|
This has nothing to do with ASP.NET. It is created with JS. Search for DHTML menu and you will get plenty of samples.
|
|
|
|
|
You can do this using javascript. In image tag use the property onmouseover="javascript:ShowMenu()"
function ShowMenu()
{
var menu = $find("%= mnuName.ClientID %");
if (menu)
{
var item = menu.findItemByText("Ur menu item name");
if (item)
{
item.open();
}
else
{
alert("Item with text '" + item + "' not found.");
}
}
}
|
|
|
|
|
Erm, I beg to differ.
What's wrong with the Menu control in ASP.NET?
Unless he meant he really wanted to design a user control like the menu control, but I don't really see a point in reinventing the wheel.
var question = (_2b || !(_2b));
|
|
|
|
|
I have two treeviews in my page. I want to select multiple nodes on the left hand side of the tree view and add the same to the right hand side. Is it possible to do so in a web page?
This is something like a list of items on the lefthand side listbox, then clicks a button called "Add>>", so it will add to the righthand side of listbox.
Any help in this regard? Please help. any links or code page to this direction would be really great.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
allow checkboxes for the treeview by setting ShowCheckBoxes property to 'All' the and u can select multiple nodes and on click of add button ,take those checked nodes to right.
|
|
|
|
|
Thanks a lot for the idea. let me google it up for the code. If you know any good links explaining this, please forward.
Thanks a lot anyways.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
What would be the best way to accomplish this with ASP.NET 3.5
I would like to do this with CSS.
I got the header to work as I wanted with this css class.
and a div tag
#header
{
border-bottom: 2px solid white;
height: 18%;
}
I would like to do the same thing
only on the left side of the page.. kind of like MSDN...
Any help would be much appreciated.
http://www.w3schools.com/HTML/tryit.asp?filename=tryhtml_frame_cols[^]
Humble Programmer
|
|
|
|
|
Hi
every one i'm in projet with the APS.NET MVC frameWork.
I have a sql data with 3 column : id, title , root
The root colum is a varchar and content a PATH directory like this
../content/S1 which S1 carry up to many html file.
My question is:
how could i display those a link for those files?
it is possible to display it in Placeholder.
Thanks for your help
|
|
|
|
|
taki said wrote: it is possible to display it in Placeholder.
While some ASP.NET WebForm controls are useable in MVC (because they happen not to use much of the infrastructure that MVC doesn't use) you are not encouraged to use them. You should be using HtmlHelpers to write HTML to the view, not using placeholders.
|
|
|
|
|
I have created a custom ControlDesigner where I have a Smart Tag with a few DesignerActionPropertyItems. One of these DesignerActionPropertyItems contains a ListItemCollection. My problem is when I use the Smart Tag to add items to the collection, nothing is added to the collection. On the other hand, when I use the property editor to modify the collection, all is well! Below is the code.
Thanks in advance.
MyControl.cs
[DefaultProperty("Text")]
[ToolboxData("<{0}:MyControlrunat=server></{0}:MyControl>")]
[Designer(typeof(MyControlDesigner),typeof(IDesigner))]
[ParseChildren(ChildrenAsProperties =true)]
public class MyControl: CompositeControl
{
[Bindable(true)]
[Category("Settings: Value")]
[PersistenceMode(PersistenceMode.InnerProperty)]
[EditorAttribute(typeof(ListItemsCollectionEditor), typeof(UITypeEditor))]
[MergableProperty(false)]
public ListItemCollection Items
{
get
{
if (ViewState["Items"] == null)
ViewState["Items"] = new ListItemCollection();
return (ListItemCollection)ViewState["Items"];
}
}
}
MyControlDesigner.cs
public class MyControlDesigner : ControlDesigner
{
public override System.ComponentModel.Design.DesignerActionListCollection ActionLists
{
get
{
DesignerActionListCollection actions = new DesignerActionListCollection();
actions.AddRange(base.ActionLists);
actions.Add(new LabeledControlDesignerActionLists(this));
return actions;
}
}
}
MyControlDesignerActionLists.cs
class MyControlDesignerActionLists: DesignerActionList
{
private MyControlDesigner _designer;
private MyControl _control;
public MyControlDesignerActionLists(MyControlDesigner designer)
: base(designer.Component)
{
this._designer = designer;
this._control = (Mycontrol)this._designer.Component;
}
public override DesignerActionItemCollection GetSortedActionItems()
{
DesignerActionItemCollection actions = new DesignerActionItemCollection();
actions.Add(
new DesignerActionPropertyItem(
"Items",
"Items",
"Control Value Settings",
"Set the value."));
}
return actions;
}
public ListItemCollection Items
{
get
{
return this._control.Items;
}
}
public void SetProperty(string propertyName, object value)
{
PropertyDescriptor property = TypeDescriptor.GetProperties(this.Component)[propertyName];
property.SetValue(this.Component, value);
}
}
|
|
|
|
|
Hi,
I have 25 menu items in a web form. I want to show 25 different gridviews
based on menuitem selected on the same page. e.g if i select menuitem1 it
should show Gridview1 and if I select menuitem2 it should show Gridview2 and
so on. This way I have to show 25 Gridviews. How can I do that.
Thanks
|
|
|
|
|
hahii wrote: I have 25 menu items in a web form. I want to show 25 different gridviews
based on menuitem selected on the same page.
25 Differents gridview does not mean that you need 25 Diff Grid Control . You can simple do it using single grid view. Just one the menu changed, Changed the DataSource of GridControl. You can also generate Column and other stuff runtime.
|
|
|
|
|
Could you please give me some example how can I do that programatically.
thanks
|
|
|
|
|
I would create 1 GridView with AutoGenerateColumns=True. Make sure you can create the dataset with 1 stored procedure with an Int parameter which has the value of the menuItem.
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|