|
first of all, you need to use pre tags around your code. That will make it
look like this and be far more readable to the people who might be willing to help.
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning.
A graduation ceremony is an event where the commencement speaker tells thousands of students dressed in identical caps and gowns that 'individuality' is the key to success
|
|
|
|
|
Here is the correct way to write question:
I am using Jquery calander control in my project. When i click any button the value in the textbox is cleared. Kindly help me to resolve this issue. I have to take the textbox value and save it in DB.
<script type="text/javascript>
$(function() {
var pickerOpts = {
showOn: "button",
buttonImage: 'calendar.gif',
buttonImageOnly: true,
changeMonth: true,
changeYear: true,
showButtonPanel: true,
dateFormat: 'dd-M-yy'
};
$("#datepicker").datepicker(pickerOpts);
$.datepicker.setDefaults($.datepicker.regional['']);
$("#datepicker").datepicker($.datepicker.regional['en']);
$("#datepicker").val();
});
</script>
<form id="form1" runat="server">
<asp:Label ID="lblDate" runat="server" Text="Date: ">
<asp:TextBox ID="datepicker" runat="server" ReadOnly="true" ViewStateMode="Enabled">
<asp:TextBox ID="TextBox1" runat="server" TextMode="Password" >
<asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" ></form>
When i try to get value like
string AA = TextBox1.Text;
It just returns empty.......
|
|
|
|
|
Dear all,
I have a solution with multiple class library and Asp.net projects.
I want to have a common configuration file for common configuration/settings for all those projects in my solution.
What is the best way to achieve this ? (i didn't find a good solution on the web yet ).
Thanks in advance.
|
|
|
|
|
Do you mean a common web.config for the ASP.NET projects, a common config file for the class libraries, or both?
If you are using source control, such as TFS, a single file could be included in multiple projects. On the file system you could also link the files to each project rather than each having their own.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi Mark,
I mean a common config file for both, Asp.net and class libraries. It is one application with different modules.
|
|
|
|
|
I want to create a calendar using datalist in asp .net c#
I needfull code urgently
|
|
|
|
|
Doesn't everyone?
Please don't ask people to do your work for you, it's irritating for us and it won't help you. Do some Googling, ask for resources and work your way throught it.
If things get tough and you have a SPECIFIC problem you would like help with, ask the question here. I highly doubt anyone here will help you build something from scratch.
Start here[^]. When you get stuck on something specific, come back and ask for help.
Typical n-tiered architecture:
DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty
|
|
|
|
|
Hi,
Is it possible to do a URL rewriting for www.domain.com?userName=Jassim to jassim.domain.com or the only way is to create the sub domain on the DNS?
|
|
|
|
|
|
if you attach a link in facebook or LinkedIn then it will automatically determine the title of the page and it will also let you choose from some of the images? how to this in ASP.NET?
|
|
|
|
|
What you're looking for is HttpWebRequest and HttpWebResponse. These can be used to talk to websites using HTTP and download their content just the same way your browser does.
Here's an article right here on CodeProject[^]. Also some MSDN reference material here [^]and here[^].
Basically you will take the URL, send a HTTP GET request, the server will return the HTML of the webpage. You will need some string processing (generally called "HTML scraping" if you want to Google) to get the content you're after. Then any image locations you find in your HTML scraping, you will need to get their URLs and send HTTP GET requests for each to download the image data.
Make sense? So, keywords for Google:
HttpWebRequest
HttpWebResponse
HTML Scraping
Typical n-tiered architecture:
DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty
|
|
|
|
|
Hi,
1. I want to display a seperator between each horizontal menu item. how can i do this.
2. can i able to give different background colors for each menu item. if possible how can i do that..
Thanks,
|
|
|
|
|
|
|
Can we assign same domain name to multiple websites on same web server?
|
|
|
|
|
I am not sure what you are trying to achieve.
Even if you do so, say some how, which website you want to return when user will navigate to that website?
I could think of the following scenario you could do:
1. You can create different sub domains and assign each sub domains to each website.
2. You can also write your own ISAPI extension to redirect to different websites based on your need/logic on the same web server.
3. Easiest of all, assign domain to a default website, create a custom http handler, server.transfer to other site based on the your business logic.
Hope this will help.
|
|
|
|
|
dear experts ,
i am using a calendar control on web form now problem i am facing is
how to restrict user to select a date otherwise it should show error like required field validator
any one guide me how to achieve this?
Http://www.gen-sys.com
Government Dyal Singh College Lahore.
|
|
|
|
|
You may have to use a CustomValidator rather than a RequiredFieldValidator.
|
|
|
|
|
Hello,
I have placed a website online and now I would like to be able to place search words so that google can find that site...
How can I add search words for this website in google please?
Thanks
|
|
|
|
|
This is taking the wrong approach to the problem. It's a common assumption that having search words will drive people towards your site in Google, but that's a misconception. What you need to do is investigate Search Engine Optimisation (SEO), which targets things like having quality inbound links and extremely well laid out pages with well written text.
|
|
|
|
|
|
The best way to get Google interested, is having links to your site on many other sites, already known to Google; it also may not be the easy way... Putting your website's URL in the relevant field of your CP profile is a small step in that direction.
Then there is http://www.google.com/addurl.html[^], however I always have had my doubts about it.
A lot has been said and written about SEO, and only some of it has been valid at some point in time; Google keeps improving its system to keep lousy material out, and give meaningful rankings to valuable material.
Warning: there has been a time where the (X)HTML of your page had to be exact for Google to scan you; if you claimed XHTML and made a mistake, your page got ignored for sure. this[^] is a good validator.
And whatever you try, be prepared to wait a typical 2 to 4 weeks before any result will show.
Luc Pattyn [My Articles] Nil Volentibus Arduum
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Please use <PRE> tags for code snippets, they improve readability. CP Vanity has been updated to V2.3
|
|
|
|
|
i want to know what's the best way to have a forum on my website similar to forums.asp.net?
|
|
|
|
|
Sir;
Check this[^] up.
Help people,so poeple can help you.
|
|
|
|
|
guys;
i use this code to reset a group of radiobuttons. but it gives me 'radiobuttons is null or not an object' (the code below)
Dim resetmycontrols As String = _
"var radiobuttons = document.getElementsByName('MyGroup');" & _
"var checkboxes = document.getElementsByName('MyGroupChk');" & _
"var i = 0;" & _
"for(i = 0; i <= radiobuttons.length; i++) radiobuttons[i].checkd= false;" & _
"for(i = 0; i <= checkboxes.length; i++) checkboxes[i].checkd= false;"
ScriptManager.RegisterClientScriptBlock(Me, Me.[GetType](), "resetmycontrols", resetmycontrols, True)
what should i do?
Help people,so poeple can help you.
|
|
|
|