|
Have a look at the DotNetNuke[^] framework.
Steve Jowett
-------------------------
Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'
|
|
|
|
|
Hi all,
We received a wap site and it was done in php, I just want to find out what is needed to host a php site, currently the webserver is set up for .Net and I'm not sure how that will impact the php, do I need to make any changes on the IIS?
Thanks in advance
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
|
Thanks
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
hi all
I have some code but have problem when add "html" to tag div by javacript
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script language="JavaScript" type="text/javascript">
<!--
function addEvent()
{
var strHTML = '<a href="javascript:posttreeview('39,28', '4');">demo</a>';
document.getElementById('myDiv').innerHTML = strHTML;
}
//-->
</script>
</head>
<body>
<p><a href="javascript:addEvent();">Add Some Elements</a></p>
<div id="myDiv"> </div>
</body>
</html>
But it error javacipt when click to text??
I think it error in href="javascript:posttreeview('39,28', '4');"
Some body help me ??
|
|
|
|
|
Hi,
Your problems are being caused by the use of multiple ' and " characters within your strHTML variable.
var strHTML = '<a href="javascript:posttreeview('39,28', '4');">demo</a>';
The second ' within this line is interpreted as the end of the string i.e. '<a href="javascript:posttreeview(' and will therfore cause errors when attempting to process the remaining script.
To correct this issue you will simply need to break up the string as follows:
var strScript = "javascript:posttreevie('39,28', '4');";
var strHTML = '<a href="' + strScript + '">demo</a>';
Hope this helps.
Clean code is the key to happiness.
|
|
|
|
|
Alternatively you can escape the quotes:
var strHTML = '
|
|
|
|
|
i have created a web application for user(supplier) to view their information using my application.it does not seem to work. and i still couldnt figured out where has gone wrong.but the error given was...
The IListSource does not contain any data sources.
Source Error:
Line 14: Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Line 15: GridView1.DataSource = supplier.retrieveSupplier()
Line 16: GridView1.DataBind()
Line 17: End Sub
Line 18: End Class
|
|
|
|
|
Did you try Googling[^] the error message to find out what it means?
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
One of my website developed on asp classics, i need to configure it on IIS 6.0
My hard drive consists on 5 drives from C to G drive, each drive on FAT#@ partition excluding D drive which is on NTFS and the IIS server also on this drive. When i configure my website on the IIS server and after installing the frontpage extension it doesn't run on the browser and says "file or directory not found on the server."
what do i do ? please help.
thank you.
|
|
|
|
|
I'd google around for configuring it. I've run into this problem before and found a google search to help. I don't remember how I fixed it since it was a long time ago.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
I have to validate text entered in a TextBox with the value in a table ie a value stored in a Database.
Pls give me snippet of code how it can be done using AJAX
|
|
|
|
|
Have you tried googling around?
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
Hi,
Is the validation you are performing a straight text comparison, or should the entered text match one of several values pulled from the database?
As you are using AJAX, if you want the validation to fire when the TextBox loses focus, then the best way to do this would be to write a custom handler that, when fired on the onblur event of the TextBox, calls a local web service that is passed the entered text. The web service can then perform some server-side validation against the database and pass back the result. If the entered text is invalid, use JavaScript to display an error icon, or whatever element is being used for validation errors. If you are using .Net 2.0 or higher then the use of the ScriptManager control to create JS web service proxy objects, makes this operation very simple.
If validation only needs to be run when the form is posted back then it would be simpler to use a custom validation control and validate the entered text when the page is posted. You simply need to put your validation logic in the server-side ServerValidate event of the custom validation control.
Hope this helps...
Clean code is the key to happiness.
|
|
|
|
|
Dear all,
I have a serious problem that can't resolve.
The problem are:
1- I cann't integrate Drupal into Moodle System. (big problem)
2- But i can intergrate Moodle into Drupal System. (It's ok)
The reason i want to integrate Drupal into Moodle because
i want Moodle as a main system of Drupal.
The structure is "Drupal in Moodle.".
Please help soon.
Thanks,
Best regards,
Han
|
|
|
|
|
You might want to look on moodle's site.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
var doc = new ActiveXObject("Word.Application");
doc.Visible=false;
doc.Documents.Open("C:\\users.doc");
var txt;
txt = doc.Documents("C:\\users.doc").Content;
alert(txt);
doc.quit(0); // quit word (very important or you'll quickly chew up memory!)
i am getting error : automation server can't create object
modified on Friday, January 25, 2008 4:36:59 AM
|
|
|
|
|
ritu4321 wrote: i am getting error
There is an error number also yes? Look it up in the documentation. It will provide more detailed information.
led mike
|
|
|
|
|
Hai,
pls give me an idea of how to call multiple functions on clientside
for eg:
My code is like this
<asp:button id="btnSave" runat="server" borderstyle="Groove" onclick="btnSave_Click">
Text="Save" OnClientClick="val(); " />ie OnClientClick how can i call multiple functions
|
|
|
|
|
Hi,
This can be easily achieved by either calling a single JS function that will then call all the functions you require, or by simply separating calls with a semi-colon e.g.
<asp:button id="btnSave" runat="server" onclick="btnSave_Click"
Text="Save" OnClientClick="fn1(); fn2(); fn3();" />
or
<asp:button id="btnSave" runat="server" onclick="btnSave_Click"
Text="Save" OnClientClick="clickFn();" />
in your JS file...
function clickFn()
{
fn1();
fn2();
fn3();
}
Clean code is the key to happiness.
|
|
|
|
|
Hai,
Could you pls give me an idea that how to call a javascript function on PageLoad
|
|
|
|
|
Hi,
There are a couple of ways to do this, as there are a number of DOM events that you can hook into. My preferred method is to attach functions to the window.onload event. This can be done as follows:
function myOnloadFunction()
{
// Add your page load JS here
}
function addEvent(obj, type, fn)
{
if (obj.addEventListener)
obj.addEventListener(type, fn, false);
else if (obj.attachEvent)
obj.attachEvent("on" + type, fn);
}
addEvent(window, "load", myOnloadFunction);
The above example provides a cross-browser solution for attaching events to DOM elements.
Clean code is the key to happiness.
|
|
|
|
|
Hi there,
i have a website
Files hierarchy is
wwwroot/
Default.aspx
Login.aspx
data/
db1.mdb[MS Access database]
web.config
Register/
Signup.aspx
web.config
when i inserting a record from Signup.aspx to db1.mdb it was returning an error Operation must use an updateable query
i think i have to change the permissions of db1.mdb, if so how to change permissions. iam using windows xp operationg system.
thanks for any advice
|
|
|
|
|
I have an old website with a client who wants all of the sercurity holes closed. One of them is that there are many cookies not set with the HttpOnly option.
I have tried to set them according to the documentation I have found online for ASP, example:
Response.Cookies( "TestCookie" ).Path = "/; HttpOnly"
Response.Cookies( "TestCookie" ) = "This is an HTTP Only cookie"
yeilds a blank cookie when accessing it from another page. I have tried this on different computers and get the same result.
I think I found the problem though. The cookie header is being sent like this (output from Fiddler2):
Set-Cookie: TestCookie=This+is+an+HTTP+Only+cookie; path=/%3B%20HttpOnly
If I set the cookie using the .HttpOnly property of the cookie object in a .Net application I get:
Set-Cookie: TestCookie=This is an HTTP Only cookie; path=/; HttpOnly
Which works just fine.
Looks like the cookie header is getting escaped somewhere, anyone have any ideas?
Thanks in advance for any help.
|
|
|
|
|
I've put together a web page for a client and for the menu, actual restaurant menu, I've used a vbscript function to create an interchanging IFrame set. The problem that I'm running into is that when the client tries to view the menu a warning message appears in the browser warning that the page runs dynamic content that could be harmful to the computer. Since this is not the case I would like to know if there is a way to work around this or if this is the result of the security settings in IE.
Thanks,
An American football fan -
Go Seahawks!
Lil Turtle
|
|
|
|