I have found a strange and annoying problem which only seems to occur with NS6.01.
My databound DropDownLists are not loading properly from it seems.
All the items are being loaded from viewstate - but the selected index is coming thru as 0. It's almose like it is being completely populated...
My option for this is grayed out - and when I try to run the stored procedure to enable it, it tells me the component is not installed - how do I install it?
WinXP/SQL Server 2000 /SP2
<bb/>
Set the arguments in the form - __EVENTTARGET and __EVENTARGUMENT - and then submit it - this will route to the object you specify - mind you, it has to be set up to handle it, do you mean call a method belonging to your page class?
For an IE solution use window.onbeforePrint to hide items you don't want printed - and onAfterPrint to reinsert them.
This means print selection from any source - context menu, File Menu etc is all catered for.
Other browsers you can only do it from a print button you insert - so File-->Print...
I have also tried creating the objects programatically - this works - I can load my report -BUT then when I go to add the viewer to my pages Controls collection - I get the same error.
What is going wrong?
No matter what I try I can't get a crystal report viewer to show up in my application. I am using Visual Studio.net.
My pages never get to Page_Load even - the error occurs when it tries to load the viewer control - the error says
NullReferenceException: Object reference not set to an...
Turns out they are right when they say VaryByParam must be set - also need to do this when setting Caching programmatically:
...
Response.Cache.SetCacheability(HttpCacheability.Public);
Response.Cache.SetExpires(System.DateTime.Now.AddSeconds(60)...
I need to be able to toggle Response Caching, so my admin users see their newly inserted content - but cannot get it to work programmatically - it works ok to clear , but not t set expiry etc:
Response.Cache.SetCacheability(HttpCacheability.Public)...
Yeah, I am of a similar opinion, I will have to implement cache insertion by anything which modifies a cache dependency.
I just can't stand things which don't work for seemingly no reason.
It would be nice to have a global handler though ;-)
<bb/>
I have an XmlDocument which I am storing in Cache - and it has a dependency on a file.
I am finding my callback method is being called very erratically - it works when I modify the xml myself, but when I save to it after submitting a form, the cache is emptied, but not replaced
Any ideas...
It turns out we have to manually add child nodes to the controls collection if they are parsed as attributes - and then DataBind them.
This can be done the other way too, by searching the Controls collection, and matching NamingContainer - and getting the parameters that way.
<bb/>
I am having trouoble getting web.config to work. I came across a <location> element somewhere on the internet - but it is not mentioned anywhere at msdn.
It is used to password protect files - which works fine for aspx ones, but not so well for .xml - why is this?
<bb/>
Turns out we have to register the child elements so the parse can find them to create them.
<%@ Register TagPrefix="Toolkit" TagName="Upload" Src="upload/Upload.ascx" Assembly="Upload" %>
<%@ Register TagPrefix="Toolkit"...
I am having trouble getting the parser to create objects when it parse child nodes with a User Control, I have had no trouble when using a Server Control.
I am filling an ArrayList with the child controls - but they are filled with nothing - no objects have been created.
I think it has...
I have the following:
<Toolkit:XMLTransformer RUNAT="SERVER" xslFilePath="xml/test.xsl" xmlFilePath="xml/test.xml"
sessionID="<%# Session.SessionID%>" debug="true">
<Toolkit:Parameter Name="xmlFilePath"...
I have a dynamic control which creates elements depending on arguments given in the tag:
<Custom:someTag param_1="some value" .../>
The ascx file contains a form - and depending on a value given I need to add a number of controls. this works fine if I want to just add the controls...
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.