|
create dynamically
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
When you add any node then check parent node of the node: if it is Root node then allow to add other deny.
Like:
Root
parent1
child1
parent2
suppose if user want to add node in child1 then check parent node of the child1 that is parent1 not it Root. so it will deny it.
if user want to add node in parent1 then check parent node of parent1 is Root that is Root so it will be allow.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
ok thanku i have done this
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
I want to create an Object to a class which is in DLL using..
objSamp = new ActiveXObject("Sample.clsSample");
I'm using this statement in Javascript in ASPX page...
but I'm getting error in aspx page
error is "Automation Server Can't create Object"
How can I resolve this error..?
Please Help me.....
|
|
|
|
|
Hi
This is beacuse of windows can't verify the activex object which you have, once you make your activex control a signed component, the IE will install your component automatically, and you can fix this. i have got Lpktool.exe from google, that you can use to convert your activex object a signed component...(you must have the source code with you..!)
regards
Sebastian
|
|
|
|
|
Hi All,
I am having a datatable which has data as parent child relation. The problem I am facing is explain below with the example.
Ex:
ChildID Description ParentID
A Desc1 NULL
B Desc2 A
C Desc3 A
D Desc4 A
It shows
A
B --| Hidden under Parent A
C |
D ---
B Again Child Element is shown.
C
D
And I want the display as:
A
B --| Hidden under Parent A
C |
D ---
Please help me with this.
Thanks....
|
|
|
|
|
Not sure exactly, but I would say a Repeater will solve your problem, because it gives you the most control over your generated HTML. Nested repeaters may be required, I'm not sure, you've not explained it well enough for me to follow fully.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thanks for the reply. Actually I am using javascript to build this tree and for building I am doing the following as I haveget data from Database:
DataTable dtFinal = cf.Return_DataTable("EXECUTE getAllData 719, 1, 0, 0", connectionString);
In dtFinal I get the records as
ChildID Description ParentID
A Desc1 NULL
B Desc2 A
C Desc3 A
D Desc4 A
And I need to show this as treegrid. Before this it was working fine as I was firing 2 different queries and get Parent and Child datatable and then fire query on Child datatable.
Things were fine till that time now when I execute sp and get only 1 datatable this are not working.
Hope I have explained my self well.
Please help me how to do this...
Thanks again....
|
|
|
|
|
OK, so the issue is in your code that iterates over the table. It makes more sense to me to generate two tables and create a relationship between them. If you're spitting it out in javascrpt, the most logical thing if you have a parent child relationship, is to spit out XML.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thanks for the reply sir, actually all my logic is ready I just need to fire a proper query on datatable. Please help me as I dont want to change my hole logic.
Thanks again....
|
|
|
|
|
Well, if you won't change your middle tier, then I really don't know what to suggest. What form does the data take going to the browser ? Either the data is bad, or the script code is broken.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi everyone
while trying to add crystal reports to my project i came across the following error, could anyone help me out. Plzzzz Its urgent
m using
.net framework 1.0
IIs version 5.7
The error is as follows
Server Error in '/WebApplication3' Application.
--------------------------------------------------------------------------------
Access to the path "C:\Program Files\Microsoft Visual Studio .NET\Crystal Reports\Viewers" is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.UnauthorizedAccessException: Access to the path "C:\Program Files\Microsoft Visual Studio .NET\Crystal Reports\Viewers" is denied.
The ASP.NET process is not authorized to access the requested resource. For security reasons the default ASP.NET process identity is '{machinename}\ASPNET', which has limited privileges. Consider granting access rights to the resource to the ASP.NET process identity.
To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the "{machinename}\ASPNET" user. Highlight the ASP.NET account, and check the Write box in the Allow column.
Source Error:
Plzzz help me out.
hi
|
|
|
|
|
i need a tool that compares the text in two files and highlights the difference in that two files. its a urgent one. thasnq
Find and d/l a open source tool if possible.(Paid tools is also ok)
mallika
|
|
|
|
|
This has nothing to do with ASP.NET.
araxis merge is the best merger I have found, I bought it and am very happy with it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thanx for the response
I need other than araxis and VSS
mallika
|
|
|
|
|
an open source comparing tool is WinMerge
-^-^-^-^-^-
no risk no funk ................... please vote ------>
|
|
|
|
|
Why do you need something other than the best merge tool on the market ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I always prefer using Visual Source Safe.
It is very reliable and also allows to compare files that were never ever stored in the VSS
Amol
|
|
|
|
|
windiff is rubbish. Sure, it works, but any commercal merge program has it beat.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
WinDiff, WinMerge or BeyondCompare.
|
|
|
|
|
Hi,
I have stored a mp3 file in binary format into database.Now i want to retrieve from database.
I am not able to retrieve that. Can anybody help me how to do this?
|
|
|
|
|
Surely a select will retrieve the data if it's there. Are you sure you're explaining the problem correctly ? What's the code, and what happens ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I want to retrive mp3 file,which is converted into binary format and stored in database using asp.net.
I don't know how to retrieve this file in datagrid
and also i want play that file using media player ,whenever i clicked on it.
Is it clear
|
|
|
|
|
To 'show' it in the datagrid, you plainly have to write it to your file system and have a link to it. Odds are, you'd be better off to store them in your file system and store paths in your DB
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
how can i pogramatically detect that the web page is being closed.i think java script provide this functionality.can anybody provode the code.
Soniagupta1@yahoo.co.in
|
|
|
|