|
Mark Nischalke wrote: It is your application
First it is not an application, it is an extender - a generic a behavior that can be attached to an element in any page in any application.
Mark Nischalke wrote: you decide why
If I should decide then why I shared it. (of course not for honest feedback )
Mark Nischalke wrote: if you need it
Actually I want to meet the requirement of the largest range of people here, not mine.
Mark Nischalke wrote: not us.
Then, why do you think we are here?
We are here to learn from each other. to exchange knowledge and experience.
Help people,so poeple can help you.
|
|
|
|
|
one more file..uplode....in the particular category....
|
|
|
|
|
I need to made a project for travel agency, In this project I should make this part which I wrote below
The manager of travel agency can
review and regulate the offer for his travel agency. He should
be able to add more detailed description. He can see and reported for each
offer.
Could someone help, or getting me some instructions how to do that? Please it is very importnat....
|
|
|
|
|
Firstly this forum does not provide code to order, and secondly it would be much better if you did some research and created an outline project to work on. Then when you have specific problems you can come back and ask questions here. Make a start by looking at the samples and tutorials on the ASP.NET[^] website.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Hi,
I want to move the nodes of the treeview up or down.
A node may contain child.If i drag a node its contents also must come.
Need help/
Guhananth.S
|
|
|
|
|
This[^] has that functionlaity and is free for non-commercial usage, I believe, or this[^] might also have some information you may find will help.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
I tried to add a reference to Watin.Core.dll, and got this
The project targets '.NETCore' while the file reference targets '.NETFramework'. This is not a supported scenario
I looked on Watin.org and didn't see version for Win 8.
Anyone know of an alternative that would work in Win 8 & pass cert?
Everything makes sense in someone's mind
|
|
|
|
|
Hi all. I'm working through the architecture for an ASP.NET MVC 3 solution. I like using LINQ and will probably use the entity framework against a SQL database as the persistence repository. I've seen a lot of examples now where a controller will send lambda expressions to the repository object as a way of indicating a filter, rather than having a specific function declared in the repository interface for the filter scenario. This seems convenient, and performs well as long as you have a LINQ-to-entities or LINQ-toSql compliant repository.
I started down that path, but I'm now concerned that it doesn't separate the concerns as much as it should. In the event a new repository layer was needed, one would need to build/implement something that can work with the lambda expressions (e.g construct SQL from the expression tree, or otherwise implementing IQueryable). Otherwise the use of LINQ would require loading a full set into memory from the datastore, potentially killing performance.
My question is this: is this a valid concern? Or is the support for LINQ-enabled repositories strong enough among enough database systems that the convenience of LINQ outweighs the coupling concern?
|
|
|
|
|
I have to access some of data through webservices. The web services done by c++ which is hosted on linux machine. Normally when we consuming the webservices, we can do the add web reference. but in that case, we know only the ip address and port of the hosted server. How can i consuming that webservice method directly using visual studio 2008.
Currently we know the methods of the web service, so just create sample web services in asp.net (*.asmx). then consuming that methods in our application, then changed the URL.
Please provide correct way to consume that.
Thanks
|
|
|
|
|
I Think you should enter a regular request path(IP:Port/servicepath) that requests the service in the URL field. being the web service developed using C++ and hosted on Linux should make no deference being the service return a text/xml response and the wizard does the remaining stuff.
Help people,so poeple can help you.
|
|
|
|
|
Instead of creating proxy to web service,
you can try using Http Post/Get using HttpWebRequest/HttpWebResponse (WebRequest class in System.Net) to post a request to web service and receive response from the same. Hope it helps.
|
|
|
|
|
Hi Experts,
I need to detect whether a destination email domain has TLS enabled or not? Can any one help me how to do that.
Thanks,
|
|
|
|
|
Hello,
The user is given a text box to enter text. What would we need to do, to allow user to save the text along with HTML tags? VS 2010 is not allowing this due to security reasons. Is there a way we can save text like Testing?
We are trying to save this test to the database.
Many thanks!
|
|
|
|
|
Not enough information. If all you want to do is save some text to a database that is simple as would be saving to a file: there are thousands of examples of how to do this both here and through Google. What do you mean by HTML tags? Where are they from? The page itself? You need to be clear about what you are trying to do though I have to say this does sound liek homework even though you say 'we'.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
I experienced that problem also: the text in the text box contained html tags (<b>Testing</b>), and I received some security warnings. Sorry that I do not remember how I resolved that, but I can confirm the existence of the problem.
|
|
|
|
|
Find Here[^]. After reading this, you can think about what to do with ValidationRequest flag.
|
|
|
|
|
I am trying to access a Java web service from an ASP.NET application written under Visual Studio 2010. If I just try to retrieve the WSDL using the URL (modified for security) below I receive the error that follows.
http://PathToWebService/ServiceName?WSDL
<error>
<description>Unable to generate WSDL 1.1 for this service</description>
<reason>If you wish Axis2 to automatically generate the WSDL 1.1, then please set useOriginalwsdl as false in your services.xml</reason>
</error>
If I try to add a service reference for the URL I receive the error at the bottom of this message. Does anyone happen to know what I might be able to try on the ASP.NET end to resolve this issue?
Thanks...
There was an error downloading 'http://PathToWebService/ServiceName'.
The request failed with the error message:
--
--MIMEBoundaryurn_uuid_7831B404AE7996BD4D1329310360131
Content-Type: application/xop+xml; charset=UTF-8; type="application/soap+xml"
Content-Transfer-Encoding: binary
Content-ID: <0.urn:uuid:7831B404AE7996BD4D1329310360132@apache.org>
<soapenv:Reason xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Text xml:lang="en-US">The endpoint reference (EPR) for the Operation not found is /ServiceName and the WSA Action = null</soapenv:Text></soapenv:Reason>
--MIMEBoundaryurn_uuid_7831B404AE7996BD4D1329310360131--
--.
Metadata contains a reference that cannot be resolved: 'http://PathToWebService/ServiceName'.
The content type multipart/related; boundary=MIMEBoundaryurn_uuid_7831B404AE7996BD4D1329310361638; type="application/xop+xml"; start="<0.urn:uuid:7831B404AE7996BD4D1329310361639@apache.org>"; start-info="application/soap+xml"; action="http://www.w3.org/2005/08/addressing/fault" of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '--MIMEBoundaryurn_uuid_7831B404AE7996BD4D1329310361638
Content-Type: application/xop+xml; charset=utf-8; type="application/soap+xml"
Content-Transfer-Encoding: binary
Content-ID: <0.urn:uuid:7831B404AE7996BD4D1329310361639@apache.org>
='1.0'='utf-8'<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action><wsa:RelatesTo>urn:uuid:84d945e1-b9fc-4390-9626-02fd9dd40575</wsa:RelatesTo></soapenv:Header><soapenv:Body><soapenv:Fault><soapenv:Code><soapenv:Value>soapenv:Sender</soapenv:Value><soapenv:Subcode><soapenv:Value xmlns:wsa="http://www.w3.org/2005/08/addressing">wsa:ActionNotSupported</soapenv:Value></soapenv:Subcode></soapenv:Code><soapenv:Reason><soapenv:Text xml:lang="en-US">The [action] cannot be processed at the receiver.</soapenv:Text></soapenv:Reason><soapenv:Detail><wsa:ProblemAction xmlns:wsa="http://www.w3.org/2005/08/addres'.
The remote server returned an error: (500) Internal Server Error.
If the service is defined in the current solution, try building the solution and adding the service reference again.
|
|
|
|
|
can any one help me in writing the data access code . I am not been able to write correct for dal. i do have proper logic about creating n tiers.
|
|
|
|
|
|
|
<script type="text/javascript">
$(function() {
$(".showreply").click(function(evt) {
evt.preventDefault();
$(".reply").slideToggle('slow');
});
});
</script>
<asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1"
Width="988px" Height="35px" HorizontalAlign="Left" BorderStyle="None"
DataKeyField="id">
<AlternatingItemStyle BackColor="White" />
<ItemStyle BorderColor="#CCFFFF" BorderStyle="Solid" BorderWidth="2px" />
<HeaderStyle Height="0px" />
<ItemTemplate>
Reply By:
<asp:Label ID="nameLabel" runat="server" Text='<%# Eval("name") %>'
style="color: #990000" />
Department:
<asp:Label ID="DepttLabel" runat="server" Text='<%# Eval("Deptt") %>'
style="color: #990000" />
Designation:
<asp:Label ID="DesignationLabel" runat="server"
Text='<%# Eval("Designation") %>' style="color: #990000" />
<asp:Label ID="useridLabel" runat="server" Text='<%# Eval("userid") %>' />
<br />
<div style="border: 0px solid #C0C0C0; height:auto; background-color: #D9FDDE;">
<asp:Label ID="commentsLabel" runat="server" Text='<%# Eval("comments") %>' />
</div>
Posted On:
<asp:Label ID="dateLabel" runat="server" Text='<%# Eval("date") %>' />
<br />
<div id="s1" style="width:123px; height:20px; background-color: #FF9933; float:left;" class="showreply">Post Reply</div>
<br />
<div class="reply" style="display:none">
<asp:TextBox ID="TextBox2" runat="server" TextMode="MultiLine" Height="75px"></asp:TextBox>
</div>
</ItemTemplate>
</asp:DataList>
It works but it slide(open) all div in datalist on click s1 div.
How to open div respective to s1 div at a time.
|
|
|
|
|
I think you should find something unique to identify the div.
for example
modify the s1 div to be run at server(this would give it unique values of id every single instant).
then add the id to the JQuery selector
$("#" + this.id + " div.reply").slideToggle('slow');
Good Luck
Help people,so poeple can help you.
|
|
|
|
|
Hi All,
Can any body help me with some code to send mail using smtp i have a code but mail is not send to a particular mail id. i have written a code as
SmtpClient smtpClient = new SmtpClient();
MailMessage message = new MailMessage();
try
{
MailAddress fromAddress = new MailAddress("xyz@gmail.com", "ABC");
message.From = fromAddress;//here you can set address
message.To.Add("abc@gmail.com.com");//here you can add multiple to
message.Subject = "Feedback";//subject of email
message.Body = @"Plain or HTML Text";
smtpClient.Send(message);
}
catch (Exception ex)
{
lblmsg.Text = "ERROR : " + ex.Message;
}
this code works fine but mail is not been send.
Thanks in Advance
Elizabeth
|
|
|
|
|
Elizabeth Rani wrote: this code works fine
Really? Have ever looked at lblmsg ?
Nowhere did you set the Host , Port , EnableSsl , and Credentials properties of the SmtpClient . It must fail because of that.
Next, some mail providers check that the From property of the MailMessage is the address of the user identified by the UserName of the Credentials - in case of doubt, they'll refuse to send the mail.
|
|
|
|
|
Hi,
Can you help me some sort of code please.
Thanks in advance
|
|
|
|