IE Web Control Deployment Problem
-
Yes I have uploaded the all the runtime component. TabStrip control is working properly but TreeView control only gets displayed. It is not expanding the nodes. I am binding it to XML file by setting TreeNodeSrc property. It is working properly on server when application is run locally.:-O unmon
-
Does it work when you access the web page from another remote machine? Btw, which browser are you using for testing? Can you check to see if the
onexpand
event gets fired?Yes that event is working when I run that application on deployement server locally by acessing terminal service of that m/c. But when I accessed that application on internet, the tree node didn't get expands. Can please help me ? I think there may be some security or permission issues related to config file. Thanks For Reply.:) Unmon
-
Yes that event is working when I run that application on deployement server locally by acessing terminal service of that m/c. But when I accessed that application on internet, the tree node didn't get expands. Can please help me ? I think there may be some security or permission issues related to config file. Thanks For Reply.:) Unmon
UnmeshDesale wrote: Can please help me ? Sure. But I'd like to know if you have this problem when you use a third machine to access the application over the internet. And does the problem happen with both IE and FireFox? Also, can you view source the web page to check if all the data in the xml data source file are sent to the client side.
-
Yes that event is working when I run that application on deployement server locally by acessing terminal service of that m/c. But when I accessed that application on internet, the tree node didn't get expands. Can please help me ? I think there may be some security or permission issues related to config file. Thanks For Reply.:) Unmon
Yes this problem occurs when I am accessing our web application on internet. This problem occurs both on IE & FireFox. XML file is gets generated on server when I run my application on internet.I have checked that using terminal service.On internet treeview control gets displayed with graphics but not working & tabstrip control is working properly.:( unmon
-
Yes that event is working when I run that application on deployement server locally by acessing terminal service of that m/c. But when I accessed that application on internet, the tree node didn't get expands. Can please help me ? I think there may be some security or permission issues related to config file. Thanks For Reply.:) Unmon
Hi there, I haven't had any reasonable ideas yet, IMO you might want to compare the html source code of the web page at runtime when you access the web page over the internet and when you use the terminal service. By this I mean you can view source of the web page in the two cases and see if there is any thing different. The another attempt is to run a very simple web page with only a one treeview control in there and see if it works.
-
Hi there, I haven't had any reasonable ideas yet, IMO you might want to compare the html source code of the web page at runtime when you access the web page over the internet and when you use the terminal service. By this I mean you can view source of the web page in the two cases and see if there is any thing different. The another attempt is to run a very simple web page with only a one treeview control in there and see if it works.
Yes I have compared both HTML source file on internet & created on server. XML data is posted on HTML source file created on server but that XML data is not posted on file created on my own m/c i.e. client. Otherwise both files are same, both contains reference to WebCtrlClient directory. But XML file gets created on server with proper data as reply to request from client. Why it happening ?. I think it is not IE web Control issue. I think we are close to solution plz suggest some directions about XML files rights. Waiting For Ur Reply, Regards & Thanks, Unmon. unmon -- modified at 3:16 Friday 26th August, 2005
-
Yes I have compared both HTML source file on internet & created on server. XML data is posted on HTML source file created on server but that XML data is not posted on file created on my own m/c i.e. client. Otherwise both files are same, both contains reference to WebCtrlClient directory. But XML file gets created on server with proper data as reply to request from client. Why it happening ?. I think it is not IE web Control issue. I think we are close to solution plz suggest some directions about XML files rights. Waiting For Ur Reply, Regards & Thanks, Unmon. unmon -- modified at 3:16 Friday 26th August, 2005
UnmeshDesale wrote: XML data is posted on HTML source file created on server but that XML data is not posted on file created on my own m/c i.e. client. I'm not sure I understand what you mean here. + How do you specify the xml data source for the TreeView control? Do you use a static file on the server or a dynamic one which is generated on the fly? + Does the XML treenodes in the web page when you run on the internet look similar to that when you run on the terminal service? (I mean the xml treenode elements inside the treeview parent element).
-
UnmeshDesale wrote: XML data is posted on HTML source file created on server but that XML data is not posted on file created on my own m/c i.e. client. I'm not sure I understand what you mean here. + How do you specify the xml data source for the TreeView control? Do you use a static file on the server or a dynamic one which is generated on the fly? + Does the XML treenodes in the web page when you run on the internet look similar to that when you run on the terminal service? (I mean the xml treenode elements inside the treeview parent element).
I am using dynamic XML file, it gets generated when user select any node of the treeview.Means For each selected node I am generating it's child node in XML file. When I am accessing application on internet, XML file is generated properly on server.I don't know why it is not binding that XML file to selected tree node. Root(UpperMost) TreeNode appears same as displayed when run on server. I have deployed my application on Window2003 server.:sigh: Please help me. Thanks & Regards, Unmon
-
I am using dynamic XML file, it gets generated when user select any node of the treeview.Means For each selected node I am generating it's child node in XML file. When I am accessing application on internet, XML file is generated properly on server.I don't know why it is not binding that XML file to selected tree node. Root(UpperMost) TreeNode appears same as displayed when run on server. I have deployed my application on Window2003 server.:sigh: Please help me. Thanks & Regards, Unmon
-
Looks like you are creating a custom treeview control which supports the loading-on-demand feature. Can you post a snippet of your sample code so that I can have a look at this?
Private Function CreateParentTask(ByVal Node As TreeNode, ByVal CatCode As String) As Integer Try _TskXML = New Transactions.BusinessLogic.ActualTaskProgress.TaskPlanTree _TskXML.ProjectCode = _ProjCode _TskXML.CreateXMLForParentTask() Node.TreeNodeSrc = "../XML/PlanParentTask.xml" Node.Databind() Catch ex As Exception Transactions.BusinessLogic.ErrorLog.HandleError("", ex.Message, "FormLeftFrame/CreateParentTask()", Transactions.BusinessLogic.ErrorLog.ErrorType.Critical) End Try End Function In this function _TskXML is object of TASKXML class which generates the XML file for parentTask & childTask.The Code for CreateXMLForParentTask() is: Public Function CreateXMLForParentTask() As Integer Dim prtTask As New DataSet Try prtTask = GetParentTask() Dim ExCol As New DataColumn prtTask.DataSetName = "TREENODES" prtTask.Tables(0).TableName = "TREENODE" prtTask.Tables(0).Columns("TASKDESC").ColumnName = "TEXT" prtTask.Tables(0).Columns("TASKCODE").ColumnName = "ID" prtTask.Tables(0).Columns("TEXT").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns("ID").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns("EXPANDABLE").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns.Remove("ISPARENT") prtTask.Tables(0).Columns.Remove("PARENTTASKCODE") Dim path As String = HttpContext.Current.Server.MapPath("../XML/PlanParentTask.xml") prtTask.WriteXml(path) prtTask.Dispose() Return 0 Catch ex As Exception Transactions.BusinessLogic.ErrorLog.HandleError("", ex.Message, "TaskXML.vb/CreateXMLForParentTask()", ErrorLog.ErrorType.Critical) End Try End Function In this code GetParentTask() returns the dataset which contains the Task that doesn't having any Parent task. This code is working fine on server locally but over internet, this code generates XML file but doesnot bind that XML to TreeNode. :sigh: Thanks & Regards, Unmon
-
Private Function CreateParentTask(ByVal Node As TreeNode, ByVal CatCode As String) As Integer Try _TskXML = New Transactions.BusinessLogic.ActualTaskProgress.TaskPlanTree _TskXML.ProjectCode = _ProjCode _TskXML.CreateXMLForParentTask() Node.TreeNodeSrc = "../XML/PlanParentTask.xml" Node.Databind() Catch ex As Exception Transactions.BusinessLogic.ErrorLog.HandleError("", ex.Message, "FormLeftFrame/CreateParentTask()", Transactions.BusinessLogic.ErrorLog.ErrorType.Critical) End Try End Function In this function _TskXML is object of TASKXML class which generates the XML file for parentTask & childTask.The Code for CreateXMLForParentTask() is: Public Function CreateXMLForParentTask() As Integer Dim prtTask As New DataSet Try prtTask = GetParentTask() Dim ExCol As New DataColumn prtTask.DataSetName = "TREENODES" prtTask.Tables(0).TableName = "TREENODE" prtTask.Tables(0).Columns("TASKDESC").ColumnName = "TEXT" prtTask.Tables(0).Columns("TASKCODE").ColumnName = "ID" prtTask.Tables(0).Columns("TEXT").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns("ID").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns("EXPANDABLE").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns.Remove("ISPARENT") prtTask.Tables(0).Columns.Remove("PARENTTASKCODE") Dim path As String = HttpContext.Current.Server.MapPath("../XML/PlanParentTask.xml") prtTask.WriteXml(path) prtTask.Dispose() Return 0 Catch ex As Exception Transactions.BusinessLogic.ErrorLog.HandleError("", ex.Message, "TaskXML.vb/CreateXMLForParentTask()", ErrorLog.ErrorType.Critical) End Try End Function In this code GetParentTask() returns the dataset which contains the Task that doesn't having any Parent task. This code is working fine on server locally but over internet, this code generates XML file but doesnot bind that XML to TreeNode. :sigh: Thanks & Regards, Unmon
Where r u Dear ? I am waiting for ur reply, please help me. Thanks & Regards, Unmesh
-
Private Function CreateParentTask(ByVal Node As TreeNode, ByVal CatCode As String) As Integer Try _TskXML = New Transactions.BusinessLogic.ActualTaskProgress.TaskPlanTree _TskXML.ProjectCode = _ProjCode _TskXML.CreateXMLForParentTask() Node.TreeNodeSrc = "../XML/PlanParentTask.xml" Node.Databind() Catch ex As Exception Transactions.BusinessLogic.ErrorLog.HandleError("", ex.Message, "FormLeftFrame/CreateParentTask()", Transactions.BusinessLogic.ErrorLog.ErrorType.Critical) End Try End Function In this function _TskXML is object of TASKXML class which generates the XML file for parentTask & childTask.The Code for CreateXMLForParentTask() is: Public Function CreateXMLForParentTask() As Integer Dim prtTask As New DataSet Try prtTask = GetParentTask() Dim ExCol As New DataColumn prtTask.DataSetName = "TREENODES" prtTask.Tables(0).TableName = "TREENODE" prtTask.Tables(0).Columns("TASKDESC").ColumnName = "TEXT" prtTask.Tables(0).Columns("TASKCODE").ColumnName = "ID" prtTask.Tables(0).Columns("TEXT").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns("ID").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns("EXPANDABLE").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns.Remove("ISPARENT") prtTask.Tables(0).Columns.Remove("PARENTTASKCODE") Dim path As String = HttpContext.Current.Server.MapPath("../XML/PlanParentTask.xml") prtTask.WriteXml(path) prtTask.Dispose() Return 0 Catch ex As Exception Transactions.BusinessLogic.ErrorLog.HandleError("", ex.Message, "TaskXML.vb/CreateXMLForParentTask()", ErrorLog.ErrorType.Critical) End Try End Function In this code GetParentTask() returns the dataset which contains the Task that doesn't having any Parent task. This code is working fine on server locally but over internet, this code generates XML file but doesnot bind that XML to TreeNode. :sigh: Thanks & Regards, Unmon
-
+ When do you call the CreateParentTask method? + Do you see any plus sign next to the treenode which you just bind the xml data to in the CreateParentTask method? + Have you tried to set the Expanded property of the selected node to true?
Yes it showing plus sign in front of TreeNode & I have set Expandable to Always in XML file. This code runs successfully locally on deployment server. I think code doesn't have any problem. I think it might having rights or security level problem. I have deployed application on Windows Server2003.I have given appropiate rights to ASPNet user & IIWP :sigh: Unmon.