|
|
hiiiiiiii to all
any one can tell the project activation mail after registration in asp.net c# link
rizvan sivally
|
|
|
|
|
sheemap wrote: any one can tell the project activation mail after registration in asp.net c# link
As Richard Said
You really need to give a lot more detail than that if you want a sensible answer.
|
|
|
|
|
hiii to all
how make existing roll number result project where enter roll number and see result on other page.
please any one have any link please share me
its urgent
rizvan sivally
|
|
|
|
|
sheemap wrote: how make existing roll number result project where enter roll number and see result on other page. You really need to give a lot more detail than that if you want a sensible answer.
sheemap wrote: its urgent Not to anyone here.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
I think for that project you have work or self coz it is little bite big to post on web.
what you have to work
Create a database and table
Input all data then make search box where people will enter roll no then send the data to other page using post or get. in that page verify the roll no and if exist then get the data and print
Kislay Kumar
Trustcity
|
|
|
|
|
I wrote a program in VB.Net some time ago which includes a text box for input associated with a key press event routine that converts lower case alphabetic chars to upper case, accepts upper case alphabetic chars and one other special character, and discards any other key presses. I would like to provide a web version of the application but am yet to find any programming language which provides the ability to intercept and change key presses in this way.
Neither ASP or WPF has any obvious way to do this so I've reconciled myself to needing to learn a new language but obviously would like to make sure I'm not stumbling along in those that won't actually let me do this ultimately. So is there any one language in which you can guarantee I will be able to reproduce the required behaviour or should I just abandon the project now?
|
|
|
|
|
The answer is Javascript (or one of the 'packages' that is based on it, like jQuery). It runs in the browser, so it can catch events like user keyboard/mouse operations. Look at http://www.w3schools.com/jsref/event_onkeypress.asp[^] for a start, and stroll around that neighbourhood for examples.
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Thanks for the suggestions. I guess it's Javascript learning time then.
|
|
|
|
|
JavaScript for ASP.NET and WPF supports this though the PreviewTextInput event.
|
|
|
|
|
hi
i have different list in accordion format
i want to highlight the list item according to the page
<ul class="accordion" id="accordion-4">
<li ><a href="#">Hollywood</a>
<ul>
<li><a href="#">POP</a></li>
<li><a href="#">Rock</a></li>
<li><a href="#">Folk</a></li>
<li><a href="#">Jazz</a></li>
<li><a href="#">Country</a></li>
<li><a href="#">Blues</a></li>
</ul>
</li>
<li><a href="#">Bollywood</a>
<ul>
<li><a href="#">POP</a></li>
<li><a href="#">Rock</a></li>
<li><a href="#">Folk</a></li>
<li><a href="#">Jazz</a></li>
<li><a href="#">Country</a></li>
<li><a href="#">Hindu Stani</a></li>
<li><a href="#">Film Songs</a></li>
</ul>
</li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
</li>
</ul>
the above list is the sample list
and i am using bellow code
<script type="text/javascript">
$(document).ready(function($){
$('#accordion-4').dcAccordion({
eventType: 'hover',
autoClose: true,
saveState: true,
disableLink: true,
menuClose: false,
speedIn:10,
speedOut:10,
showCount: false,
})
});
</script>
can any one help to me.
|
|
|
|
|
You could do this several way such as sending a numeric ID to a javascript function that corresponds to a link in your list. When clicked, and/or the page has done a round trip read that numeric ID back into a function that highlights that link.
This is just a crude example of javascript that take an element's ID and turns its background bright Yellow.
function highlight(linkID)
{
var link = document.getElementById(linkID);
link.style.backgroundColor = "#FFFF00";
}
If you want to go about it in a STATIC way you could set up each page where the link itself has not only a CSS class definition but an ID as well, for example:
<ul class="sub-menu">
<li id="CURRENT_PAGE"><a href="#">POP</a></li>
<li><a href="#">Rock</a></li>
<li><a href="#">Folk</a></li>
<li><a href="#">Jazz</a></li>
<li><a href="#">Country</a></li>
<li><a href="#">Blues</a></li>
</ul>
Now define your CSS
.sub-menu { ..... }
#CURRENT_PAGE { background-color:#FFFF00; }
The choice is up to you, good luck!
I once knew a man with a wooden leg named Smith, I never asked what he named his other leg.
|
|
|
|
|
can any one please help me in writing
A raw soap xml packet to be posted to WCF and to retrieve the response
Here we are not using either the service reference or the proxy.
|
|
|
|
|
I want the code for advanced search for a dating site.I was unable to write it correctly.
"Lookingfor(Male,Female),Age(18,19,20,21,22...etc),Occupation(Teacher,Engineer....etc),Education[B.Sc(Science),B.A(Arts)....etc]" are the features in the Advanced Search option.I want the correct code in php.Please hekp me.
Thankyou verymuch
|
|
|
|
|
udara1985 wrote: I want Please read the guidelines[^].
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
It does not work like this here.
Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it's not that hard.
2. Formulate what was done by you that looks like an issue/not working.
Try them and tell if you face issues.
Members will be more than happy to help you.
|
|
|
|
|
Countered 2-vote
C# has already designed away most of the tedium of C++.
|
|
|
|
|
Hi All,
I'm accessing the inetpub folder from a share (mapped drive) of our development web server. When I try running the application from Visual Studio on my machine I receive the below error message. However, when I run the application from the web server, browse through IIS, the application shows up with no issues.
Error message: “Could not load file or assembly 'DataWindowInterop, Version=2.5.0.0, Culture=neutral, PublicKeyToken=cc0f66dd9541b3da' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)”.
Could anyone point me in the right direction as to how to solve this DataWindowInterop error? Does it have something to do with the DataWindow not being accessible from the web server? When I bypass the error message in Visual Studio all that is shown in the browser is the directories, as expected being that the Data Window isn't accessible.
Any help would be really appreciated.
Thank you
|
|
|
|
|
Try it from a local drive. Running an application from a network drive is more restricted than from a local drive.
Philippe Mori
|
|
|
|
|
I was hoping to get it working on the local machine. Working on the server would be my last resort.
I located a reference to the DataWindowInterop in the project file and the actual .dll file is in the bin folder.
Any ideas as to why this error is being received?
Thank you
|
|
|
|
|
using System.Security.Permissions
The problem is that the webserver is running everything locally through its own IIS user and your code on the local machine is accessing through a "remote" connection. I once ran into a similar problem using a mapped folder.
You only need to set up the permissions for your development machine, NOT the development SERVER, just the machine you are actually writing code on.
You'll need to figure out just which permissions you need to set but here is the MSDN link for the above namespace.
System.Security.Permissions Namespace
I once knew a man with a wooden leg named Smith, I never asked what he named his other leg.
|
|
|
|
|
Double click that error it will shows some line in design page...Delete it
|
|
|
|
|
Hi I hope somone can help with my dilema I am using this code to load an external page (contact form ) into an ajax panel I have tried several (contact forms) some from this website however when I submit the form I get errors either saying it cannot find the page or it just refreshed to the main default page
<pre lang="java"><script type="text/javascript">
$(document).ready(function () {
$('#panel1').slidePanel({
triggerName: '#trigger1',
position: 'fixed',
triggerTopPos: '475px',
panelTopPos: '495px',
ajax: true,
panelOpacity: 0.8,
speed: 'slow',
clickOutsideToClose: true,
ajaxSource: '/ContactUs/Default.aspx'
});
});
</script>
this is the contact form I am trying to use
<pre lang="HTML"><html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Contact Us</title>
<script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="js/jquery.validate.js" type="text/javascript"></script>
<script src="js/jquery.blockUI.js" type="text/javascript"></script>
<script type="text/javascript">
$.validator.setDefaults({
submitHandler: function() {
$.blockUI({
message: "<div style='color:White;'><h1>Thank you!</h1><br/><span style='font-size:12px;'>We'll get in touch with you asap.</span></div>",
fadeIn: 500,
fadeOut: 500,
timeout: 3000,
showOverlay: false,
centerX: true,
centerY: true,
css: {
width: '350px',
right: '10px',
border: 'none',
padding: '5px',
backgroundColor: '#000',
'-webkit-border-radius': '10px',
'-moz-border-radius': '10px',
opacity: .6,
color: '#fff'
}
});
this.document.form.submit();
}
});
$().ready(function() {
$("#contactForm").validate({
rules: {
email: {
required: true,
email: true
}
}
});
});
</script>
</head>
<body>
<h1>Contact Us</h1>
<form id="contactForm" action="contact.ashx">
<table>
<tr>
<td>
<label for="name">Name*</label>
</td>
<td>
<input id="name" name="name" class="txtField required"/>
</td>
</tr>
<tr>
<td><label for="email">E-mail*</label></td>
<td>
<input id="email" name="email" class="txtField required" />
</td>
</tr>
<tr>
<td><label for="Phone">Phone</label></td>
<td><input id="phone" name="phone" class="txtField" /></td>
</tr>
<tr>
<td><label for="Message">Message*</label></td>
<td><textarea name="message" rows="5" cols="20" class="txtField required" id="Textarea1"></textarea></td>
</tr>
<tr>
<td style="text-align:right;"><input name="submit" type="submit" value="submit" /></td>
</tr>
</table>
</form>
</body>
</html>
and the code behind
using System;
using System.Web;
using System.Net.Mail;
public class contact : IHttpHandler {
public void ProcessRequest (HttpContext context) {
MailMessage message = new MailMessage();
message.From = new MailAddress("contact@southlabs.com");
message.IsBodyHtml = false;
System.Net.NetworkCredential mailAuthentication = new
System.Net.NetworkCredential("test@gmail.com", "passwords");
System.Net.Mail.SmtpClient mailClient = new System.Net.Mail.SmtpClient("smtp.gmail.com", 587);
mailClient.EnableSsl = true;
mailClient.UseDefaultCredentials = false;
mailClient.Credentials = mailAuthentication;
message.To.Add(new MailAddress("test@gmail.com"));
string name = context.Request.Params["name"];
string email = context.Request.Params["email"];
string phone = context.Request.Params["phone"];
string msg = context.Request.Params["message"];
message.Subject = "[New Web Contact]: Message from "+ name;
System.Text.StringBuilder builder = new System.Text.StringBuilder();
builder.AppendLine("Name:"+ name);
builder.AppendLine("email: "+ email);
builder.AppendLine("phone: " + phone);
builder.AppendLine("Message: " + msg);
message.Body = builder.ToString();
mailClient.Send(message);
context.Response.Redirect("default.aspx");
}
public bool IsReusable {
get {
return false;
}
}
}
|
|
|
|
|
Remember that the file which loads the contactform has to be in the same folder as your Contacts.ashx. Or else it won't work (404, file not found)
If it's not in the same path/folder you have to change the action-attribute in the form-tag.
--------------------
When Chuck Norris' dreams come true, your worst nightmares begin.
|
|
|
|
|
Hi All,
I have my first SOAP project coming up soon and really need some clarification on how the communication part works. More specifically, I need to consume data from a web service using SOAP. So, maybe it's more of a web service question than SOAP, I am not really sure. Here is what I have gathered so far about the communication aspect from reading and looking at code examples.
All SOAP web services provide a WSDL file. Using this file you can generate client side code by using wsdl.exe or SvcUtil.exe. You can also add a pointer or URL to the WSDL file as a service reference and access the methods that way. I have tinkered a bot with these things and produced the files. This part makes sense to me. The part I don't understand is how as a developer are we to know HOW to use the code produced ? An example would be this. In my upcoming project the 3rd party who owns the SOAP based web service provided a couple of very small code examples. In these examples a couple of the methods take string values as parameters. In the example, there is no way on earth I could know what values goes into these parameters. They appear to be things the their developer has a switch statement in the server code or something where he/she decides to do something based on what he/she receives as a parameter value but how the heck am I suppose to know what to send ? I am not talking about something intuitive like "yes" or "no", these are parameter values like "EU ROHS|REACH SVHC (46)". And I have to assume if you miss the pipe, it doesn't return the right result. So how on earth could I know the format without any documentation ? So, my first instinct was that they MUST PROVIDE documentation on how to use it. That makes sense. Well, while I am waiting for the project to ramp up I thought I better start getting more familiar with this topic. I started reading and looking at code snippets and from what I can tell, this seems to be pretty typical. Someone writes a web service and you, as the consumer, should just know how to use it. No documentation is provided like you would typically receive with a proprietary API. So this makes me think I am missing something. Is there something that I have not read about where you can figure out how to use a service without the need for any documentation ? Some way to figure out that (in SOAP anyhow) this tag accept these 5 values, and this tag accepts these 3 values. I don't understand how as a consumer I can know what to send in any particular tag. Is there something available to determine this like the way that the SOAP WSDL files can be used to produce client side code maybe ? I am very confused about this aspect of SOAP and web services.
Any insight would be greatly appreciated.
|
|
|
|