Hello,
I have a sidebar that is supposed to span the length of the document on the left side of the document. The problem is I've set the size of the DIV that contains the sidebar to 100% and the table that contains the sidebar code to 100% as well. The sidebar only occupies the viewport...
Hi,
I have a listbox with a bunch of user created items in it. When the user goes to fill out the form that this listbox is in, I want to give them the option of creating a new item. What I had planned was opening a new window with the form that user goes through to create these items, then...
Hello,
I'm developing an application for IE 5.5+ only. Because of this, I cannot use the position:fixed property of CSS to make a floating div that stays in a static position(relative to the viewport) even when the user scrolls up and down on the page. Every example I've seen has just been...
Solved...
OnInit doesn't get the viewstate loaded before it's fired.
Solution, put the logic in LoadViewState!
Just make sure to include
base.LoadViewState
somewhere in it or the other ViewState will be inaccessible.
--ghesse
Duh!
Figured this one out myself. Ok, just add
AddControl(MyProperty);
below the
MyProperty++;
In btnClick!
You don't need to track the state of a new control until the next postback.
--ghesse
Hello,
Here's a simple version of what I have:
protected PlaceHolder myph;
public int MyProperty
{
get
{
if( ViewState["myprop"] == null )
ViewState["myprop"] = 1;
return Int32.Parse(ViewState["myprop"].ToString());
}
set {...
Ok that works great on the Page_Load event. But the OnInit is still not getting the correct value. This is very annoying, I think it has something to do with the order of events that happen on a page request.
--ghesse
Hi,
I set a value of a property in the Page_Load event and then on a postback the value is not correct in the OnInit event. Can someone please tell me how to fix this?
private int _myprop = -1;
public int myproperty {
get{ return _myprop; }
set{ _myprop = value; }
override protected void...
Hello,
Crystal Reports .NET integrated in ASP.NET pages.
I'm trying to get my font to change on my objects in a report using a CSS.
I'll give you these code segments:
This is my style sheet code in aspx page:
<STYLE>
.mycss
{
background-color:808080; border-color:000000; color:000000...
Hi,
This goes back to an issue I've already posted on so I'll just do a copy and paste to catch everyone up on it.
<paste>
Crystal Reports .NET integrated in aspx pages.
I am using a group expert in several of my reports. The group name and group count act as hyperlinks when a report is...
Hello,
I've been battling with this one all day. There's no solution out there that I can find.
Crystal Reports .NET integrated in aspx pages.
I am using a group expert in several of my reports. The group name and group count act as hyperlinks when a report is generated. When you click...
First of all, how do you restart CE?
Secondly, I reinstalled the crystal engine and I get the error: CrystalDecisions.CrystalReports.Engine.InternalException: Failed to open a rowset
Holy cow, this is really getting ugly on me. As I've said before we've changed nothing, just the server we're...
Hello,
I'm using Crystal Reports .NET in ASP.NET pages. We've deployed this project twice now as well as having it run on our development machines. We just deployed it to a new server then I get this error:
Error in File {Physical path}\{reportfile}.rpt: The request could not be submitted...
Hello,
I have a problem, how do I access static variables outside of a class? Here's some sample code:
public class Resource
{
public static string var1;
public static string var2;
public Resource()
{
Resource.var1 = "Hello";
Resource.var2 = "World";
}...
Ok, so the people I've talked to tell me when a user created object is passed to a function a copy of that object's address is copied onto the stack. So in effect all user created objects are bassed by ref. Other objects in C# such as ints, strings..etc are bassed by value unless a ref is...
Hello,
I was just wondering how objects are handled when they are passed to a function. By default, is a copy made of the object inside of the function or are they passed by ref.
Thanks,
ghesse
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.