Hi there,
I have a user control embedded into an aspx page. In this control I'm trying to get a WebProxy object by using WebProxy.GetDefaultProxy()... However, I am getting an "Request for permission of the type System.Net.WebPermission...failed". Anyone know why? I have created an instance of...
Never mind, I managed to figure out the problem.
My code did something like this:
for (int i=0; i<10; i++)
this.Height += i;
I changed so that it is like this:
int myHeight = somenumber;
for (int i=0; i<10; i++)
myHeight += i;
this.Height = myHeight;
And it works perfectly!
I have a user control embedded in an aspx page through the <object> tag. I want the size of this embedded object (or the size of the control) to change dynamically based on the data being loaded into the user control.
What I notice is this: the control doesn't seem to resize properly, but when...
Hi there,
I noticed that TreeView in windows forms seems to automatically select the treenode when the user clicks the plus/minus sign beside it to expand the tree.
I'm having a problem with this because I want something to happen after a treenode has been explicitly selected, not...
Let's say I embed a Windows User control library file into my web page using the <object> tag. If I go to another page and then come back to the page with the embedded control, am I still using the objects created from the pervious page load or were those objects destroyed?
Thanks!
I'm doing something like this in a windows control method:
return text.Insert(4, Environment.NewLine);
but then when I display text in my control, I see something like: asdf||asdf, where the "||" are some sort of thick black blocks.
Anyone know the reason why? Same thing happens if I use...
Hi there,
I have a treeview control embedded in a web page using the <object> tag. I was wondering if it was possible to dynamically resize the height of the <object> and also if it is possible to dynamically resize the control itself to adjust to the new height of the expanded/collapsed nodes...
I still want to know why my Windows User Control does not work. When I load the web page, I see a blank box. Here is the object tag that I used to embed it:
<object id="TreeView" height="40" width="500" classid="http://localhost/WebTOC/TOC.dll#TOC.TreeView" VIEWASTEXT></object>
I'm sure all the...
When a postback occurs on an event (since I want to dynamically load the data into the treeview based on which node the user clicks on), does the page reload? Is it possible to dynamically load the data into the treeview without having the page refresh?
Thanks.
Actually, I got it from System.Windows.Forms.TreeView... I'm now looking around and I see that there's a TreeView specifically for browsers at Microsoft.Web.UI.WebControls. Perhaps I should use that instead? I wonder if I can use it with a DataSet.
Hi there,
I'm trying to put a Windows control library that I created into a web page. The problem is when the page loads, I don't see anything, I just see a box where the control is supposed to be, but the control doesn't seem to load.
I tried putting this control library into a regular...
Hi Globos,
To answer your question, this system is for IRC. Basically the system will be seen as a user of IRC and will sit in a channel. When 'real' users join the channel, the system will look at the user's IP and determine what type of user he is, then the system will give the user the...
Thanks for the quick response, Globos.
Actually, the system can have more than one user logged in at the same time. But I don't know how many, I guess it could be unlimited. So should the user object be created for the duration of its existence? Or should it only be created when the user logs...
Hello there. I'm trying to design a system in Java that recognizes users (more than one kind). I'm not sure how to approach this in an Object Oriented way.
There are two kinds of users: regular and admin. The regular ones don't do much except send messages to the system and sometimes receive...
3 tables: URLS, URL_Keywords, Keywords
URLS has the following (unique) fields: URLID, URL
URL_Keywords has the following fields: relation_ID, kID, URLID
Keywords has the following (unique) fields: kID, word
Basically Keywords stores a list of unique words and their ID, URL_Keywords stores the...
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.