|
Does anybody know javascript function to call WebService
I have a webservice written in .NET2.0 and I want to call the webservice by JAvascript function
and store the data got from the function on local comp by opening save dialog box in javascript itself
Do anybody have any idea?
|
|
|
|
|
Can anyone recommend some good, online tutorial resources for the Firefox Web Developer add-in? I use bits of it often, but just as often, when I want to something, I am overwhelmed by choices and or output. I'd like to really master things like picking up styling etc. off existing pages. This is not because I wish to plagiarise other people's work, but often I have to make my work look the same as others. Several nested includes etc. proscribe me just looking at the page source.
|
|
|
|
|
A good place to start is just using the View CSS tool to dump all of the styles into one page.
After that, i actually prefer using FireBug's inspector to examine how individual styles are applied to page elements.
|
|
|
|
|
We are currently looking into migrating a sponsored client's website into a new CMS (we trade web site maintenance and development for advertising and other perks). The current one has become unstable over the years and is overdue for an upgrade.
Because we have a limited annual budget, if the client could do some of the maintenance work it would be ideal. Their new IT guy is supposed to know PHP (new IT guy, so I haven't gotten to know his abilities yet).
Requirements are the ability to create custom modules, secure, free (or cheap, anyway), and able to handle high traffic volume. We have a Microsoft Windows Server 2003 box with 2Gb RAM.
Any recommendations?
|
|
|
|
|
Did you have a look at Drupal?
Drupal Homepage: http://drupal.org/[^]
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hallo. I have also heard a lot about Drupal (haven't worked with it myself but collegues have and love it). You might look into it here: http://groups.drupal.org/seattle (I'm not sure where you are located). Good Luck!
_________________________________________________
Have a great day!!!
-- L.J.
|
|
|
|
|
lbothell wrote: seattle
The asker's profile indicates he is from Canada. I guess Seattle is a quick drive from Vancover in Canada right?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Here is my text area. It looks fine in IE (6.0 and 7.0), but in Firefox, the size is tiny.
<textarea name="Description" id="Description" style="height:100px;width:400px;"></textarea>
When I view page html source in Firefox, all I can see is
<textarea name="Description" id="Description" ></textarea>
Where did the style go?
|
|
|
|
|
As the generated html code is different, the problem is with how the html code is generated.
What kind of server platform are you using? ASP.NET? ASP? PHP? JSP?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
ASP.NET
Two browsers are accessing the same application, they should get the same html, right? I am not doing anything that distinguishes browser types.
|
|
|
|
|
If the code is exactly as you have posted it, then this should not occur. Do you have runat="server" in the control, is it perhaps really an asp:TextBox tag?
Xiangyang Liu wrote: I am not doing anything that distinguishes browser types.
No, but ASP.NET might. Server controls are rendered differently depending on the browser.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Guffa wrote: No, but ASP.NET might. Server controls are rendered differently depending on the browser.
Yes, I used server control. If this turns out to be the fault of ASP.NET then it all makes sense, otherwise how is it possible for IE to beat the ever popular FireFox?
|
|
|
|
|
My web app using component of excel XP to generate graph when user upgrade microsoft office XP to 2003, site has an error "Doesn't support property & method". Could you suggest this sulotion. My code is below ..
Help me please !!!!
sub window_onload()
with document.Chart1
.Clear
.Charts.Add
<%if request("txtGraphType")="Pie" then%>
.Charts(0).Type=18
.Charts(0).HasLegend=true
<%elseif request("txtGraphType")="Line" then%>
.Charts(0).Type=6
.Charts(0).HasLegend=true
<%else%> 'Bar graph
.Charts(0).Type=1
.Charts(0).HasLegend=false
<%end if%>
do while not rsChoice.eof
if tmpDesc <> rsChoice("detail") then
if tmpDesc <> "" then
%>
.Charts(0).SeriesCollection.Add
.Charts(0).SeriesCollection(iSeries).Caption ="<%=tmpDesc%>"
.Charts(0).SeriesCollection(iSeries).SetData .Constants.chDimCategories, .Constants.chDataLiteral, strData
.Charts(0).SeriesCollection(iSeries).SetData .Constants.chDimValues, .Constants.chDataLiteral,strValue
.Charts(0).SeriesCollection(iSerieS).DataLabelsCollection.Add()
<%if request("txtDataType")="Percent" then%>
.Charts(0).SeriesCollection(iSeries).DataLabelsCollection(0).NumberFormat = "##0\%"
<%end if%>
.Charts(0).SeriesCollection(iSeries).DataLabelsCollection(0).HasValue = true
iSeries=iSeries+1
<%
end if
tmpDesc = rsChoice("detail")
%>
strValue=""
strData=""
<% 'tmpPeriod=rsChoice("period")
end if
tmpPeriod= request("txtMonthStart")+"/01/"+request("txtYearStart")
do while datediff("m",tmpPeriod,request("txtMonthEnd")+"/01/"+request("txtYearEnd"))>=0
%> strData=strData+"<%=mid(monthname(month(tmpPeriod)),1,3)%>"+" <%=year(tmpPeriod)%>"+vbTab
<%
if len(month(tmpPeriod)) = 1 then
tmpPeriod2=year(tmpPeriod) &"0"& month(tmpPeriod)
else
tmpPeriod2=year(tmpPeriod) & month(tmpPeriod)
end if
if cdbl(tmpPeriod2) = cdbl(rsChoice("period")) then
if request("txtDataType")="Percent" then%>
strValue=strValue+"<%=rsChoice("percentage")%>"+vbTab
<%else%>
strValue=strValue+"<%=rsChoice("value")%>"+vbTab
<%end if
rsChoice.movenext
else%>
strValue=strValue+"0"+vbTab
<% end if
tmpPeriod=DateAdd("m", 1, tmpPeriod)
loop
loop
%>
.Charts(0).SeriesCollection.Add
.Charts(0).SeriesCollection(iSeries).Caption ="<%=tmpDesc%>"
.Charts(0).SeriesCollection(iSeries).SetData .Constants.chDimCategories, .Constants.chDataLiteral, strData
.Charts(0).SeriesCollection(iSeries).SetData .Constants.chDimValues, .Constants.chDataLiteral,strValue
.Charts(0).SeriesCollection(iSerieS).DataLabelsCollection.Add()
<%if request("txtDataType")="Percent" then%>
.Charts(0).SeriesCollection(iSeries).DataLabelsCollection(0).NumberFormat = "##0\%"
<%end if%>
.Charts(0).SeriesCollection(iSeries).DataLabelsCollection(0).HasValue = true
<% else
do while not rsChoice.eof
%>
strData=strData+"<%=rsChoice("detail")%>"+vbTab
<% if request("txtDataType")="Percent" then%>
strValue=strValue+"<%=rsChoice("percentage")%>"+vbTab
<% else%>
strValue=strValue+"<%=rsChoice("value")%>"+vbTab
<% end if
rsChoice.movenext
loop
%>
.Charts(0).SeriesCollection.Add
.Charts(0).SeriesCollection(0).SetData .Constants.chDimCategories, .Constants.chDataLiteral, strData
.Charts(0).SeriesCollection(0).SetData .Constants.chDimValues, .Constants.chDataLiteral,strValue
.Charts(0).SeriesCollection(0).DataLabelsCollection.Add()
.Charts(0).SeriesCollection(0).DataLabelsCollection(0).HasValue = true
<% if request("txtDataType")="Percent" then %>
.Charts(0).SeriesCollection(0).DataLabelsCollection(0).NumberFormat = "##0\%"
<% else%>
.Charts(0).SeriesCollection(0).DataLabelsCollection(0).NumberFormat = "#,##0"
<% end if
rsChoice.close
set rsChoice=nothing
end if
%>
end with
end sub
<body>
<form name=form1>
<object id="Chart1" classid="CLSID:0002E500-0000-0000-C000-000000000046" width="100%" height="300"></object>
</body>
|
|
|
|
|
Hi!
I upgraded to Crystal Reports 2008 a few days ago, and ever since then I can't get the viewer to work, neither on my own machine with ASP.NET Development server or on a webserver.
The webpage comes up blank with a "Done, but with errors on page", with error message "bobj is undefined".
I´ve searched the web and found that the problem lies with the crystalreportviewers12-directory, that it´s either missing or that a virtual directory pointing at the directory is missing. Nevertheless, despite following exact steps as recommended by the developer of Crystal Reports themselves, I can´t get it to work. Has anyone else had this issue and solved it? Or does anyone have an idea of what it might be?
/Regards
|
|
|
|
|
Solved, I had EnabledViewState set to false
|
|
|
|
|
Don't give bogus reply! it's not working anymore!
|
|
|
|
|
|
1) You will need to copy the crystalreportviewers folder to the root of your project. Mine is located at C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\Crystal Reports 2011\crystalreportviewers.
2) Then reference the folder in your web.config file by adding the following:
<configSections>
<sectionGroup name="businessObjects">
<sectionGroup name="crystalReports">
<section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
</sectionGroup>
</sectionGroup>
</configSections>
<businessObjects>
<crystalReports>
<crystalReportViewer>
<add key="resourceURI" value="~/crystalreportviewers" />
</crystalReportViewer>
</crystalReports>
</businessObjects>
Good luck
|
|
|
|
|
Very Easy...
Just copied the folders from C:\Inetpub\wwwroot\aspnet_client\system_web\4_0_30319\
to "Web Application path"\aspnet_client\system_web\4_0_30319\
Reset IIS... its done.
Rajendra
|
|
|
|
|
is there any api to integrate ebay in asp.net
|
|
|
|
|
Yes...try looking here[^]
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
How can I set TextBox value from asp.net Listbox, because I popuplate asp.net Listbox through java script..
I tried it by calling the java script function onChange(and onSelectedIndexChange) event of list box, but event is not calling java script function
from here..
following is my code--
<asp:listbox id="lstShowHistory" selectionmode="Single" runat="server" width="200px" height="300px">
onChange="setTextBoxValue(this.value);">
function setTextBoxValue(e)
{
//var strListBoxName = document.getElementById('lstShowHistory');
document.getElementById('txtUrlLink').value = e ; //strListBoxName.options[strListBoxName.selectedIndex].text ;
//;options[document.getElementById('lstShowHistory').selectedIndex].text;
}
the list box is popuplate on mouse over event on the text box...
txtUrlLink.Attributes.Add("onfocus", "ShowList();");
function ShowList()
{
getCookie();
document.getElementById('helptypediv').style.visibility='visible';return false;
}
function getCookie()
{
if(document.cookie)
{
var strListBox = document.getElementById('lstShowHistory');
var ls1= document.cookie.split("=");
if (ls1.length >1)
{
var ls2 = ls1[1].split("|");
var count = ls2.length;
var strLink = "";
var optionItem;
//Clear the previous options from the list
for(var lstCount = strListBox.options.length-1; lstCount>-1; lstCount--)
{
strListBox.options[lstCount] = null;
}
if(count >= 2 )
{
for(var x = count-1; x>=0; x--)
{
var ls3=ls2[x];//[x].split("|");
strLink+= ls3;
optionItem = new Option(ls3, ls3, false, false);
strListBox.options[strListBox.length] = optionItem;
}
}
}
}
}
Vishnu Narayan Mishra
Software Engineer
|
|
|
|
|
You didn't ask in the ASP.NET forum because.....
Vishnu Narayan Mishra wrote: onChange
It's all lowercase, I believe. onchange.
Vishnu Narayan Mishra wrote: How can I set TextBox value from asp.net Listbox
Your big issue will be that the names you give ASP.ENT controls on the server, are not the names they have on the client. Use the ClientID property to find the client side name, and pass that to the client so getElementById will work
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks sir for guidance,
I have resolved my problem
following is code..
in CS file i added this line ..
lstShowHistory.Attributes.Add("onchange", "ShowText();");
and by javascript I set the value of textbox, but it works only on by selecting item from mouse.
How can I select value from the listbox by arrow key of keyboard?? Have you any idea...
function ShowText()<br />
{<br />
var txtMessage = document.getElementById('lstShowHistory').options[document.getElementById('lstShowHistory').selectedIndex].text;
document.getElementById('txtUrlLink').value = txtMessage;<br />
document.getElementById('helptypediv').style.visibility='hidden';return false;<br />
}
Vishnu Narayan Mishra
Software Engineer
|
|
|
|
|
Hi sorry if i m posting this on the worong forum.
But i need help on this.
i need to ping a website but with different ip each time with the help of tor.
can ne1 help ne help will be appreciated.
Thanks
|
|
|
|