|
Hi,
I am using .Net 2008 for my web applications.
Crystal Report is my cup of tea.
The problem I am facing is that.....
I am loading crystal report in a web form through button click,
once my crystal report is displayed in crystal viewer and if I
do some changes like reduce report size from 100 % to 50 % etc , It leads me to a screen with textboxes for giving server name , etc.
please suggest me to help me out.
thanks
Hemant Thaker
By:
Hemant Thaker
|
|
|
|
|
Hi,
I am developing a web application in ASP.I want to copy file from one server to another using VB Script.You can say server machine(application is hosted on it) to client machine.Anybody know how to do this.
my client machine path is like http://machineIP/foldername/filename.doc
please reply me!
|
|
|
|
|
|
How to find the no. of days in a Month in Javascript but Month no. should be 1-12 not in 0-11
|
|
|
|
|
Can you explain your situation in more detail, perhaps with a code sample?
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
Introduction to Object-Oriented JavaScript
|
|
|
|
|
.NET- India wrote: How to find the no. of days in a Month in Javascript
Create a Date object for the first day of the month, and one for the first day of the next month. Use the valueOf method to get the values as milliseconds, subtract them and divide the result by 86400000 to get the number of days.
.NET- India wrote: but Month no. should be 1-12 not in 0-11
The Date object uses the values 0-11 for month, and there is nothing that you can do about that. You have to translate the value by adding or subtracting one.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi
I'm using the 'file'' input control tag (HTML) – this represents the
"Browse..." HTML control on internet browsers.
I'm not using this control for its conventional use – to upload a file to a
server, rather – I use it to get the path of a file on a network share – in
order to save typing time for the user.
For example on Windows or Linux when browsing to a network server to get a
file – the result is: \\SomePC\SomeShare\SomeFile.ext
On Mac – Leopard/Tiger – we will see something like:
/Volumes/SomeShare/SomeFile.ext
Our problem is that we need the file server name – which the Mac seem to
automount under the /Volumes directory, I would appreciate your
comments/idea on how to get the full path instead of the mounted path
returned to the server by the browser.
|
|
|
|
|
Short answer: you can't.
Long answer: you get what the browser gives you and have to accept this due to the non-standard use of the file element.
|
|
|
|
|
Basically, with the use of asp.net or javascript, wats the coding for sending a form to an email address.
|
|
|
|
|
You have to use a server-side language such as PHP or ASP to send e-mails.
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
Introduction to Object-Oriented JavaScript
|
|
|
|
|
I remember that you posted the same question yesterday too.
As you said, you are using html and css to build your site, but maite there is no way you can send an email using these(as these are the client side language/scripts which are used to render you page content to the browser and nothing else).
For an operation like Sending an Email, you need to do it at the sever side using languages like ASP, ASP.Net'and many more.
Hope this helps.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
|
Thanks all, i understand now
|
|
|
|
|
Hi all, this is my first message here so i hope i can rely on some of you people to help...
My problem is that i'm working on a website that has drop down menus written in javascript. Now these menus work properly on IE and Netscape, but when i try to view the site on firefox, the table cell that holds the "hidden" menu is at a greater height (the height of the cell + the height of the drop down menu). And the menu appears within the that cell when hovered over and disapears when you leave it. But the menu is never hidden and the table cell remains the same height. Its not acting like a proper drop down menu, but instead its like it shows the links when hovered over. Here is the html code and the Javascript code that i'm using...
html:
(For the row that has the menu only)
<tr><td width="145px"></td><td width="0px" class="test" height="0" id=0 onmouseout=btnTimer() onmouseover=showLayer("Menu0",'0')>
<a class="menu_special" href="products.html">
drop_down
<img src="images/arrowdown.gif" border="0" width="10" height="10" alt="">
<div id=Menu0 style="visibility:hidden;">
<table bgcolor=#ffffff cellpadding=5 style="border-collapse: collapse;">
<tr height=0 onmouseout=menuOut(this,'#ffffff') onmouseover=menuOver(this,'#ffffff')>
<td align=left width="75px"><a class="menu_special" href="#1">test1</a></td></tr>
<tr height=0 onmouseout=menuOut(this,'#ffffff') onmouseover=menuOver(this,'#ffffff')>
<td align=left width="75px"><a class="menu_special" href="#3">test2</a></td></tr>
<tr height=0 onmouseout=menuOut(this,'#ffffff') onmouseover=menuOver(this,'#ffffff')>
<td align=left width="75px"><a class="menu_special" href="#3">test3</a></td></tr>
<table>
<div>
<a></td></tr>
Javascript code:
window.onerror = null;
var bName = navigator.appName;
var bVer = parseInt(navigator.appVersion);
var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4);
var menuActive = 0;
var menuOn = 0;
var onLayer;
var timeOn = null;
function showLayer(layerName,aa){
var x =document.getElementById(aa);
var tt =findPosX(x);
var ww =findPosY(x)+20;
if (timeOn != null) {
clearTimeout(timeOn);
hideLayer(onLayer);
}
if (IE4) {
var layers = eval('document.all["'+layerName+'"].style');
layers.left = tt;
eval('document.all["'+layerName+'"].style.visibility="visible"');
}
else {
if(document.getElementById){
var elementRef = document.getElementById(layerName);
if((elementRef.style)&& (elementRef.style.visibility!=null)){
elementRef.style.visibility = 'visible';
elementRef.style.left = tt;
elementRef.style.top = ww;
}
}
}
onLayer = layerName
}
function hideLayer(layerName){
if (menuActive == 0)
{
if (IE4){
eval('document.all["'+layerName+'"].style.visibility="hidden"');
}
else{
if(document.getElementById){
var elementRef = document.getElementById(layerName);
if((elementRef.style)&& (elementRef.style.visibility!=null)){
elementRef.style.visibility = 'hidden';
}
}
}
}
}
function btnTimer() {
timeOn = setTimeout("btnOut()",50)
}
function btnOut(layerName){
if (menuActive == 0){
hideLayer(onLayer)
}
}
var item;
function menuOver(itemName,ocolor){
item=itemName;
itemName.style.backgroundColor = ocolor; //background color change on mouse over
clearTimeout(timeOn);
menuActive = 1
}
function menuOut(itemName,ocolor){
if(item)
itemName.style.backgroundColor = ocolor;
menuActive = 0
timeOn = setTimeout("hideLayer(onLayer)", 50)
}
function findPosX(obj)
{
var curleft = 0;
if (obj.offsetParent)
{
while (obj.offsetParent)
{
curleft += obj.offsetLeft
obj = obj.offsetParent;
}
}
else if (obj.x)
curleft += obj.x;
return curleft;
}
function findPosY(obj)
{
var curtop = 0;
if (obj.offsetParent)
{
while (obj.offsetParent)
{
curtop += obj.offsetTop
obj = obj.offsetParent;
}
}
else if (obj.y)
curtop += obj.y;
return curtop;
}
Any Help Would be appreciated
Thanks
|
|
|
|
|
That code is old - get a new menu[^].
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
As shown by the line: var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4);
Wow, the days when IE was on OS X I wonder why they got rid of it
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
Introduction to Object-Oriented JavaScript
|
|
|
|
|
Thanks for the advice, i scrapped the old code and found a better drop down menu code that works perfectly for both IE and firefox
|
|
|
|
|
You're welcome - hope you didn't take my reply as rude; i've found that older (targeting v4-era browsers) DHTML code generally isn't worth updating; too much has changed, too much has been learned. Glad you found something!
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
I am using HttpWebRequest object for communicating with a Sun Java System Web Server. The behaviour of the Server is very random. For the same requests, sometimes I get the response and sometimes I get Internal Server Error 500.
This is a third party server which reportedly works fine with other client applications so it seems there is a problem with my code. The code is simply using HttpWebRequest and HttpWebResponse objects to massage requests and responses.
I am re-initializing the HttpWebRequest object for each new request, the reason being the fact that I cannot reassign request.ContentLength to a value once the request has begun.
Any clues?
|
|
|
|
|
Can you show us some of your code?
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
Introduction to Object-Oriented JavaScript
|
|
|
|
|
i'm using visual studio 2008 . when i use ajaxcontrolltoolkit in my project it gives me no error. but in the webpage the functionalty of ajax do not work. like i can see accordian pane but on clicking them they are not working.
|
|
|
|
|
That's because you're doing something wrong
|
|
|
|
|
1) describe what you're doing in sufficient (but not excessive) detail for the average reader to understand and reproduce.
2) post in the correct forum[^].
Success!
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Ok, I am trying to do this in javascript. Let me try to tell you what I want to do. I have a nav with 5 buttons(images). I want to be able to hover over a nav button, say nav1, have that change to newNav1 (a color version of the same image) while having another image underneath, img3(which right now is plain), change to img4(becomes a heading), then when you click on img4, you get img5(a description). Then when you move your mouse away from img5, you go back to the beginning. The code that I have included works except it doesn't go back to the beginning when you move your mouse away from img5. It will go back as long as you only hover over one button but if you hover over say nav1 and then move over to nav2, instead of getting the orginal image, you'll get the images that resulted from hovering over nav1.
thanks
function addRollover(img, rolloverURL, overHeading, overContent)
{
var id = img;
var contentBase = document.content.src;
img = document.images[id];
var baseUrl = img.src;
(new Image()).src = rolloverURL;
(new Image()).src = overHeading;
(new Image()).src = overContent;
img.src = rolloverURL;
document.content.src = overHeading;
document.content.onclick = function () { document.content.src = overContent;}
img.onmouseout = function() { img.src = baseUrl; }
document.content.onmouseout = function () { document.content.src = contentBase;}
}
modified on Sunday, August 17, 2008 7:17 PM
|
|
|
|
|
Can any body give me any small sample application or any link of any type of ASP.Net, in which create, update delete operations?
|
|
|
|