Hello Phil,
No, I dont have a code behind. It is a webpart so all I can do is call the webpart. As I dont have code behind I cannot use NotIsPostback. How do I access the link that you have sent me? Is that from your msdn downloaded on your machine?
-- Ram
Benson,
This is how I call my webpart. TreeDisplay in zonetemplate is my class which had all the code to create a tree and handle all the tree events.
-- Ram
<form id="form1" runat="server">
<div>
<asp:webpartmanager id="WebPartManager1" runat="server">...
Hey Benson,
I created a class for building a tree. I load the basic structure of the tree and load the leaf nodes dynamically when the user clicks on the node.
When I try to click on the nodes to view the details of the clicked node in another webpart the tree view webpart is doing...
Hello All,
I am trying to build a webpart which using a TreeView. I had build a class to create a tree and load my tree. How can I eliminate calling the constructor when a page does a post back? Is there anyway I can do that? I think because of calling the constructor and building the...
Hello Husker,
Yes my constructor is being invoked in the page load event and yes you were right, I was just paraphrasing it. I used !IsPostBack...
I am trying to build a sharepiont webpart so not sure if I can use IsPostBack property on there. Do you know of anyway that I can...
Hey SodakotaHusker,
Here is the code I am using for the treedisplay
public class TreeDisplay : WebPart, IWebPartField
{
public TreeView _treeView;
public DataTable _table;
public FieldCallback _consumerDelegate = null;
public TreeNode _nodeRoot...
Hello All,
I am using a tree structure in my webpage. I load the basic tree structure on page load and wanted to load the children of those nodes on the fly and so I used the eventhandler but after I catch the event and get the node and try to find the parent of the node it is...
Thank you Jeb. My program works fine on the development box. That program is running fine from months on the development box, that has Windows XP on it. The production box is running on NT 4.0 and that is where the program is crashing, so I had to wait and see if it crashes on the production...
Thank you Jeb. I will give a try using pConn.CreateInstance() and see if it works. I have to wait for two days and see if my program is working fine or not cause it if working fine for 2 days and crashing only after 48 hrs. I have it in a service and my service runs every hour.
--- RAM
Hello All,
I wrote a program that reads data from command line and inserts that data into the database using ADO. My program is running fine for two days and after that it is crashing throwing an exception given below
File: dbgdel.cpp line 52
Expression: _Block_Type_Is_Valid...
Hello All,
I am writting a program to read the mailboxes from an exchange server and access different property values from AD. My program complies fine but during runtime I get an unhandled exception
"COM object with CLSID {212029AF-C50D-11D2-BC7E-00C04FD430AF} is either not valid or...
Hello all,
I am trying to write a stored procedure which takes in a number as input and retrieves the top number of results. I wrote the following code but it is not working. Can anyone please tell me what I am doing wrong or what is the correct procedure to write the statement.
Create...
Hello all,
Can anyone please tell me how can I convert a value from seconds to HH:MM:SS format in sql server? I am using sql server 2000. Do I need to write a user defined function for it? or is there any built in function that I can use? I tried to use the "convert" but it didnt work. I...
Hello All,
I am building a ASP.Net webpage using C#. I have a datagrid where some columns have time values in seconds. What is the best way to convert them into HH:MM:SS format? Can anyone please tell me if we change the format while binding the row to the grid? How can we determine the...
Hello all,
I am working on exchange server 5.5 and have active directory. I wanted to read all the members names and smtp addresses in a distribution list which might have another distribution lists.... so i have to search recursively.
I tried reading from the LDAP but it is not...
Hello tsuji,
Thank you for writting about the mailbox and distirbution-list. Can you please tell me how to write a LDAP query to query the GAL (global address list), like what would be my cn, ou, o values? what i have now is querying just one domain in the GAL. below is my query and ou, o...
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.