|
Hi,
I have one webservice on remote server with ip address "".i want to
create one proxy class for webapplicatio on local machine.my problem is,
how to create proxy of a webservice in .net application.
i need complete steps ( with example, any configurations and
settings needed,code,namespaces and refereces to use that proxy in a
webapplication on local machine ) for creating proxy and using that
proxy in a webapplication.
finally one thing i need complete details for remote webservice to
work in a webapplication on local machine
please give me the reply ASAP.
Thanks
madhavi.kona
|
|
|
|
|
My question is based on Intranet application.
There is a machine by the name of machine1 where i hosted the intranet application.
Now from machine2 which is attached with machine1 intranet application(virtual directory), i am trying to access the intranet application aspx page.This is working very fine.Even there is no shared folder on machine1.Simply , the windows firewall is off.It is an annonymous access.
But when i try to access those pages programatically , it says Access denied.
Please help
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
You posted this question yesterday and we answered it.
Have you not found a username and password yet?
We are not a Code Charity
|
|
|
|
|
We are using the "onkeypress" event in Javascript to determine when
the user hits a particular key. This works well unless an ASP.NET
control (such as a combobox) has focus. In this case the onkeypress
event does not fire. Unfortunately, our need is to handle key presses
when a control does have focus, so we are kind of stuck right now.
(Multiple key selection)
My question is, are we approaching this in the correct way? Is there
a better way to do this?
|
|
|
|
|
use the onkeypress event of the controls..
|
|
|
|
|
You can use the javascript and asp.net control on key press events.
However because users can turn javascript off in their browser then it may be better to use the server control onkeypress
We are not a Code Charity
|
|
|
|
|
Thanks for the answer...
i am using vs2005 for development and the problem is that combobox didn't offer the "onkeypress" event. i was successfully using this on select (html) tag and the javascript for my asp pages. but what should i do with my vs2005 combobox.
|
|
|
|
|
hi friends
how to export datagrid data to pdf in asp.net
regards
saravanan
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
Hi,
I have one webservice on remote server ,and i created one proxy of the
webservice.can i use that proxy class for different applications or i
have to generate different proxies for different applications.
Thanks
madhavi.kona
|
|
|
|
|
It totally depends upon project to project.
However, you may use it in the way you have specified....
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
how should i create a hit counter in asp.net 2.0 c#
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
I would suggest you can have a look at http://www.hotscripts.com/[^] under ASP.NET category.
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
|
|
|
|
|
There are plenty out there:
http://www.devnewz.com/2004/0127.html
http://www.google.co.uk/search?hl=en&q=hit+counter+asp.net&btnG=Google+Search&meta=
We are not a Code Charity
|
|
|
|
|
I want to control the formatting of native type in my ASP.net application globally. For dates and times, I have used something similar to the following -
Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern = <config value="">
Thread.CurrentThread.CurrentCulture.DateTimeFormat.FullDateTimePattern = <config value="">
I need a similar method for floats and doubles, as larger values get displayed in the exponent format (1E+...), which sometimes doesn't play nice with some javascript validators.
Thanks.
|
|
|
|
|
Basically, I have a menu button on START.ASPX that fires off a javascript postback w/ script redirecting the page to GOTO.ASPX.
But the click on the Nav button just posts back to START.ASPX.
Moreover, START's form tage is coded as
but when I view source in browser the action="START.aspx".
I need the form top runat server, so how can I have the Nav button correctly post to GOTO.aspx?
|
|
|
|
|
I believe runat=server form would always reset the form action to the same page.
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
|
|
|
|
|
However you do need the runat tag for any server controls inside the form to work
We are not a Code Charity
|
|
|
|
|
Hello Friends
I want to Know how print c#. Please hlep me.
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
This question has nothing to do with ASP.NET.
If you google, you'll find good articles on the printing framework in C#.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
Height of stupidity.
Piyush Vardhan Singh wrote: printing bill
The subject says 'printing bill'.
Piyush Vardhan Singh wrote: how print c#.
A broken phrase like this is just but hilarity.
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
|
|
|
|
|
Very nice question
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
i'm using Visual Studio Team System 2008.I coded the web application and i want to unit test the code. how to do it?? when i added a test project to the solution, the code generated is some thing like this....
plz help me in testing it.....
Actual code:
private void SetNextSelection(int questionId, int answerId)
{
DecisionTreeFrontProcess decisionTreeFrontProcess = new DecisionTreeFrontProcess();
DataTable historyTable;
if (Cache[QUESTION_ANSWERS_HISTORY_TABLE] != null)
{
historyTable = (DataTable)Cache[QUESTION_ANSWERS_HISTORY_TABLE];
}
else
{
historyTable = decisionTreeFrontProcess.HistoryTable;
}
FDefinitionQuestion[] questionDefinitions = (FDefinitionQuestion[])Cache[QUESTION_DEFINITION];
FDefinitionQuestion questionDefinition = decisionTreeFrontProcess.GetQuestionDefinition(questionDefinitions, questionId);
decisionTreeFrontProcess.ModifyQuestionDefinition(historyTable, questionDefinition.AnswerDefinitions, answerId, questionDefinition);
FDefinitionQuestion nextQuestionDefinition = decisionTreeFrontProcess.GetNextQuestionDefinition(questionId, answerId, questionDefinitions);
if (nextQuestionDefinition.DefinitionQuestionId == -1)
{
SetActionMessage();
}
else
{
SetAllControlValues(nextQuestionDefinition);
}
Cache[QUESTION_ANSWERS_HISTORY_TABLE] = historyTable;
AddQuestionAnswersHistoryToTableControl(historyTable, decisionTreeFrontProcess);
}
the test code.
[TestMethod()]
[HostType("ASP.NET")]
[AspNetDevelopmentServerHost("C:\\ING(Local)\\9. New Decision Tree POC\\ING.DecisionTree.Application", "/")]
[UrlToTest("http://localhost:1701/")]
[DeploymentItem("ING.DecisionTree.Application.dll")]
public void SetNextSelectionTest3()
{
DecisionTreePage_Accessor target = new DecisionTreePage_Accessor();
int questionId = 0;
int answerId = 0;
target.SetNextSelection(questionId, answerId);
Assert.Inconclusive("A method that does not return a value cannot be verified.");
}
regards, Kranti...
|
|
|
|
|
I have a DataBound CheckBoxList. It works fine if the number of selection is incresed, but if it is decreased, then it doesn't work - keeps the old value.
Here is part of my code:
<br />
if (!Page.IsPostBack)<br />
{<br />
cblRole.DataTextField = "ROLE_DESC";<br />
cblRole.DataValueField = "ROLE_DESC";<br />
cblRole.DataSourceID = "dsRole";<br />
cblRole.DataBind();<br />
}<br />
protected void btnSaveRole_Click(object sender, EventArgs e)<br />
{<br />
}<br />
protected void cblRole_SelectedIndexChanged(object sender, EventArgs e)<br />
{<br />
}<br />
Any ideas? Thanks.
Ekjon
|
|
|
|
|
In server side validations , if i got multiple errors how can i show as a summary in top of the page, suggest me any ideas if u have.
Regards
|
|
|
|
|