|
Hi guys,
How do I submit an article?
Thanks
|
|
|
|
|
hi there
Go to the menu Articles > Submit an Article
or this link Submit article
<< >>
|
|
|
|
|
Hi..I having some problems regarding C# web application. I need to use C# web application program to design a web page. In VB we can use context menu to click on it and goes to the next page we have sleclected.But somehow, C# program doesn't have context menu and i know that i have to use javascript to design it out.. I not too sure how javascript can be done in C# web application.. Thankz =)
|
|
|
|
|
Cheese_kid wrote: not too sure how javascript can be done in C# web application
You just go ahead to use the javascrip that u have done with VB for C#
and post the questions here if problems
<< >>
|
|
|
|
|
i want to write code in asp which allow user to upload his files but i got error each time that "unknown progid" what its means.
can anybody give me source code for uploaing file
|
|
|
|
|
idreesbadshah wrote: but i got error each time that "unknown progid"
how is ur code working? maybe a snippet of code is more eaiser !!!
<< >>
|
|
|
|
|
|
Hi,
R u doing any operatu=ion while uploading? like writing to file etc. The read and write functions are not completing.
|
|
|
|
|
Hi guys!
I'm having a problem with opening an Excel spreadsheet located on a network drive using the old ASP (not ASP.NET). I tried opening the same file from my local test server and the code works perfectly. But when I try to open the file from a network path it gives the following error:-
Error Type:
Microsoft Excel (0x800A03EC)
'\\server\exceltest.xls' could not be found. Check the spelling of the file name, and verify that the file location is correct. If you are trying to open the file from your list of most recently used files on the File menu, make sure that the file has not been renamed, moved, or deleted.
I've also tried using a mapped path, ie. "G:\exceltest.xls" but still doesn't work. I've looked everywhere on MSDN for info on access rights but can't find any on this subject. Does anyone know if opening an Excel file from a network drive is possible?
Thanks for your help. Much appreciated.
|
|
|
|
|
Does anyone know of a good, cheap and reliable wildcard ssl certificate seller out there? Any that you use? Verisign is pretty costly...
Dirk Watkins
|
|
|
|
|
This is one of my first attempts at adding an RSS feed to a website.
I can load the feed at start.com, but it won't load on my Google personalized homepage.
http://www.dlarsen.com/feed.aspx
Any ideas?
I think it may have something to do wtih the encoding, but I'm so new to this that it's just a guess. It does validate, but something else is still wrong since Google doesn't like it.
|
|
|
|
|
Ye olde Feed Validator[^] says it's OK so there's probably something wrong at Google's end.
The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison
Awasu 2.1.3 [^]: A free RSS reader with support for Code Project.
|
|
|
|
|
Hi
In my project I am having a browser control which will load a web page and perform some click events automatically without user interface. I made this in a lib file and using in Web application.
This browser control is executing without any problem in certain machines and also it is not at all loading in some others.
I have enabled all my options in 'Internet Options'..
I can't find the problem.
I am very thank full to Help me..
Regards,
Jaya
|
|
|
|
|
what probs u r facing on some machines?
<< >>
|
|
|
|
|
On some machines it is loading properly.
In some others its not at all loading. Simply a symbol of the browser control is loading. AxBrowser is used.
Please reply me the solution
Thank You,
Regards,
Jaya
|
|
|
|
|
Just wild guess
what happenning at the code line that downloads from the site when debugging?
How about if u launch that page by IE??
<< >>
|
|
|
|
|
Hi
I have my browser control in a DLL which is reffered to the Web Form. When I try to debug it is not stepping into that page which contains the browser(AxBrowser) control. I have attached the DLL to the Debug process.
Whats the problem?
Can any one Help me?
<< >>
|
|
|
|
|
Hello every one
I need some help as follows:
can we define the shortcut keys (with key board combinations)in web applications(I am working with HTML, ASP, Javascript )?
If yes can u provide me some reference link as well
thanx
anyla
|
|
|
|
|
Hi there,
+ The simple way is to use the accessKey[^] property to define the accelerator key for the element.
+ If you want to create a custom shortcut key, you might have a look at the onkeydown[^]/onkeypress events and provide the event handlers for the events. In the event handler, you can do the checking on the event data so that you can take a proper action for the pressed keys.
|
|
|
|
|
Dear Sir,
Subject: We provide total BPO and project management consultancy
We are a public limited company providing Total IT consultancy and project management services to clients in the UK and US. Our experienced team of professionals can take care of your service requirements
Available projects on:
• Data entry/data processing
• Data conversion to varied formats
• High speed Image-Scanning and Data capture
• OCR data from scanned pages and on to CDs
• Indexing/compilation
• Book keeping and accounting
• Form processing
• Financial services
• Back office operations
Please feel free to contact us for any further query and requirement
With warm Regards
Ambit IT Consultancy Limited
G-5, 3rd Floor, Hauz Khas Main
New Delhi 110016 INDIA
Ph +91 11 51656055 / 66 / 77 (8 lines)
Fax +91 11 51656051
Mail us today- aitcltd@gmail.com
Visit us @ http://www.ambit-online.com
http://www.ambit-online.com/ambit.zip
|
|
|
|
|
Gee, this is real professional. A gmail email address, and advertising through online message boards. Not a chance in hell.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi,
I need some help with IE Control Treeview,
I am making this treeview for selecting inputs
for an online application for eg the structure will be like this:
The following sample if we check the Men's Wear check box, all the
following child nodes must get selected and if it is unchecked all
the child node must be unchecked.
---------------------
[]Men's Wear
---[]Shirt
---[]pants
---[]Caps
[]Ladies
---[]T-Shirts
---[]Salwars
[]Kids
---[]Shoes
---[]T-shirts
----------------------
I tried to do this with IE Treeview control but have no idea as to how
to enable the checkboxes from the client side.I can do it with vbcode
but is it works with that then there is a post back is there anyway
I can do this with javascript.
Please help
-- modified at 1:38 Wednesday 26th October, 2005
|
|
|
|
|
Hi there,
In this case, you'll have to edit the treeview htc component defined in the treeview.htc file. You can open the file and go to the checkboxClick method which is the event handler for the click event of the treenode's checkbox. And you will provide a snippet of script to recursively check/uncheck all the checkbox elements of the child nodes. Another way that you might try is to create an event handler for the oncheck event of the treeview control, then recursively check/uncheck the child nodes.
|
|
|
|
|
Well thank you very much for your help.But i already tried that.and wrote 7 function to enable and disable the tree check boxes and to set the queueEvent to each of the checkboxes.the thing is that while i am at it this code is cheking all the checkboxes and not the ones i want.
function start(tree){
checkCheckBox(tree);
TreeView_ReadyForPostback(tree);
}
function TreeView_ReadyForPostback(objTreeView){
//alert("treeview_resdy 0")
if(objTreeView != null)
{
// alert("treeview_resdy 1");
TreeView_CheckVals(objTreeView, objTreeView.getChildren());
}
else
alert("ERROR: TreeView object is null");
}
function TreeView_CheckVals(objTreeView, arrChildren){
//
var objChild;
for(var i = 0; i < arrChildren.length; i++){
objChild = arrChildren[i];
if(TreeView_IsChecked(objChild) != TreeView_GetInitCheckValue(objChild))
objTreeView.queueEvent("oncheck", objChild.getNodeIndex());
//alert("TreeView_CheckVals 1");
TreeView_CheckVals(objTreeView, objChild.getChildren());
}
}
function TreeView_IsChecked(objNode){
//alert("TreeView_CheckVals 1");
if(objNode.getAttribute("Checked"))
return true;
else
return false;
}
function TreeView_GetInitCheckValue(objNode){
alert("iitval");
return objNode.getAttribute("InitCheckValue");
}
function checkCheckBox(c)
{ //TreeView_ReadyForPostback(c);
var tst = c;
var nodeIndex = c.clickedNodeIndex;
var node = c.getTreeNode(c.clickedNodeIndex);
var bChecked = node.getAttribute("checked");
if (c.clickedNodeIndex != null)
{
checkChild(node, bChecked, nodeIndex) ;
node.setAttribute("DEFAULTSTYLE","color:black");
}
}
function checkChild(node, bCheck, nodeIndex)
{ node.setAttribute("DEFAULTSTYLE","color:black");
var ar = node.getChildren();
var i;
var bChecked = node.getAttribute("checked");
var parent;
var el;
if(ar.length > 0)
{
for(i = 0; i < ar.length; i++)
{ ar[i].setAttribute("checked", bChecked, 0);
checkChild(ar[i], bCheck) ;
}
}
else
{
if(bCheck == false)
{
parent = node.getParent();
parent.setAttribute("DEFAULTSTYLE","color:gray");
}
}
}
|
|
|
|
|
+ First of all, you need to define a method to change status of the checkbox of all children, and basically this method is called recursively:
function doChildrenCheckboxClick(parentNode)
{
var col = parentNode.children.tags("treenode");
for (var i = 0; i < col.length; i++)
{
doChildCheckboxClick(col[i]);
if(col[i].children.tags("treenode").length>0)
{
doChildrenCheckboxClick(col[i]);
}
}
}
function doChildCheckboxClick(childNode)
{
childNode.Checked = childNode.checked = childNode.parentElement.Checked;
var evt = createEventObject();
evt.treeNodeIndex = getNodeIndex(childNode);
g_nodeClicked = childNode;
if(childNode.subtree){
var cb = childNode.subtree.all.item("_cb", 0);
cb.setAttribute("checked", childNode.Checked, 0);
}
} + In the event handler checkboxClick , you can simply call the doChildrenCheckboxClick method:
function checkboxClick()
{
...
doCheckboxClick(el);
doChildrenCheckboxClick(el);
fireQueuedEvents();
} + Also, in the doCheckboxClick method, you should update the code a bit:
...
el.Checked = el.checked = !el.Checked;
.... + There is one thing remained though, the status of the checkbox will not be persisted at the server side, so as I comment in the doChildCheckboxClick method, you need to define a custom event in the .htc file like the oncheck , onexpand ... Then you should fire this custom event to notify about this status change of the treenode's checkbox. In the source code of the TreeNode class, you need to provide a snippet of code to process this custom event. For more information, you can have a look at the implementation of other events, and do the same.
|
|
|
|