|
I have a web service that uses web methods which pass strong type parameters.
These parameters are objects generated from xsd's through xsd.exe. When the web service is added as a reference to another app, as I understand, wsdl is generated from this and passed through SOAP headers.
I have a web service in a separate project in my solution. I add a reference from another project and the reference works fine - I can pass the strong type parameters that have been defined.
However, I've deployed the web service to a different server and I'm not able to call the method - "Unable to connect to the remote server"
I think this might have something to do with a <webservices> setting that needs to be added to Web.config for this type of request.
Can someone provide some guidance on this?
|
|
|
|
|
Hi all,
I have code for menu in page.aspx, but now i want write this code in page.aspx.vb for menu programming.
How i can convert this code?
this is my code:
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:Panel ID="Panel1" Runat="Server">
<asp:LinkButton ID="LinkButton1" Text='<%# Eval("nam") %>' Runat="Server"
PostBackUrl='<%# Eval("id","Page.aspx?id={0}") %>'
ForeColor="#990000"
Font-Underline="False"/>
</asp:Panel>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
i didn't use SqlDataSouece, and i used dataset for filling gridview.
Now how i can write these code in page.aspx.vb instead of using Eval in page.aspx?
Thank you
Hoda
|
|
|
|
|
Handle RowDataBound[^] event, use FindControl() to find the link button and set the PostBackUrl .
Looks like you need a HyperLink button here, not LinkButton .
|
|
|
|
|
How do I suppress a specific warning for asp.net. I know when you are building a windows app you can go the the project properties and under the build tab you can suppress a specific warning number. What would be it's equivalent in ASP.Net for VS 2008.
|
|
|
|
|
i think in asp.net nothing exist like suppression of warning....
only windows application provide this functionality
Government Dyal Singh College Lahore.
|
|
|
|
|
I did find this msdn.microsoft.com/en-us/library/3y20cc1z(VS.80).aspx on msdn, but I haven't found the exact syntax. So, I know you can do it.
|
|
|
|
|
|
sometimes if your project is big enough then you are going to run into a warning that just isn't valid for that function. Especially if you are going in behind someone else's code. I appreciate the effort though.
I actually found the syntax after half a day of trying code and looking. According to one blog this is the syntax. compilerOptions="/nowarn:42105". But it doesn't seem to be suppressing the warnings..
If someone "who has actually" put this in the web.config file has any insight it would be greatly appreciated.
|
|
|
|
|
Hello,
First of all, I hope people won't eat me for asking this, but the fact is I'm kind of stuck on it.
I have a problem displaying my .aspx file in any other browser except Internet Explorer.
When I try to use lets say FireFox/Google Chrome or what ever other browser, it automatically starts
to download my .aspx file. Now the thing is, I can't understand what I'm doing wrong or what have I
missed out.
1) It all works when I test it with "Build+Run"
2) It displays in IE
I've read something about IIS but.. I don't get it, how should I use it.
Maybe someone kind enough would enlighten me on this matter.
Thanks! (from someone who started learning C#/ASP.NET)
|
|
|
|
|
So are you saying that it doesn't run on the server, but it does on your local machine?
|
|
|
|
|
Indeed, and now I think I understand what the problem is.
Apparently the server doesn't support ASP.NET environment or something. Since thats the only
answer I could come up with.
|
|
|
|
|
If this is for your company then you need to get your server guys to set that up if you are doing this on your own here is a website that does webhosting for windows that are probably ready to go. http://order.1and1.com does[^]
|
|
|
|
|
Thanks, I'll take a look into that
|
|
|
|
|
i need source code to allow user to enter words,tables,images as he like same to same functionality as in ms word application . I need to save it in mssql server and retrieve in same manner
|
|
|
|
|
praveenjakkuva wrote: i need source code to allow user to enter words,tables,images as he like same to same functionality as in ms word application
Have you looked at the source code for OpenOffice[^]?
|
|
|
|
|
I need a ferrari. If you help me, I'll help you.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
I am trying to create my own validator call out. I have a textbox, and when a person forgets to write something in it a RequiredFieldValidator will appear. The RequiredFieldValidator has a background image, and I am trying to get the text into a specific position on the image but it turns out that I am unable to use controlchars within the .text or .errormessage of the RequiredFieldValidator. If anyone does not have an Idea how to do this I will just add text to the image in photoshop but I was not looking on doing this with 50 images.
|
|
|
|
|
I just found out how to do it.. apparently you can add some html code inside the error message text, and then within the style of that I was able to change the indenting of the paragraph tag. Here is a sample of my code.
<asp:requiredfieldvalidator id="RequiredFieldValidator1" style="Z-INDEX: 200; LEFT: 272px; BACKGROUND-IMAGE: url(file:///J:\TimeSheet\WebApplication1\textbox.png); POSITION: absolute; TOP: 136px; p{text-indent: 20px}"
runat="server" Width="360px" Height="112px" BorderColor="Transparent" BackColor="Transparent" ErrorMessage="<br/><p><b>Invalid Name</b></P><p>You must input you full name.</p>"
ControlToValidate="NameTextBox" Display="Static"></asp:requiredfieldvalidator>
|
|
|
|
|
How to increase the speed of dropdownlist selected index change event while more than 10000 records in the database?
I have five dropdownlist in a single page,values for that dropdownlist binded from the database when another dropdownlist selected index change event,it takes more time.
Plz help me
|
|
|
|
|
indian22 wrote: How to increase the speed of dropdownlist selected index change event while more than 10000 records in the database?
What is the reason behind showing 10,000 records in Dropdown list?
Use some filter criteria to minimize the number of records. You can also use data caching to read data from cache rather than hitting the database every selected index change.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
I am begginer,I don't know about data caching,will you plz send me any link to populate me in right direction
Thank you
|
|
|
|
|
indian22 wrote: I don't know about data caching,will you plz send me any link to populate me in right direction
Ya that I can do for you. But my question was why you are loading 10000 records in dropdownlist?
Data Caching in ASP.Net
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
I have binded customer name in that dropdownlist from customer table,my customer table contain more than 5000 records
|
|
|
|
|
I am a beginner in this language; I would learn to use Zedgraph and I need
information about installing zedgraph. Until now I never installed third
part components. How can I begin ? Thank you
Gaetano recchi
|
|
|
|
|
First of all, if you're a beginner, you should learn the language before worrying about third party components ( or even ASP.NET IMO ). Second, you obviously are more than just a beginner, you are completely lost and uninformed. I hope against all sense of reason that you're not doing paid work, because if you are, it is a disgrace.
you can't use a winforms library in ASP.NET. Just like you can't use Ford spare parts in your Toyota. They are not compatible.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|