|
Actually this might be the issue. I didn't have the return inside the onclientclick call. I'll test it and let you know.
Thanks,
Leo T. Smith
|
|
|
|
|
I have RSS feeds displaying on an asp web page. One problem, it is displaying supposedly quotation marks but instead it is displaying a square. I checked in source and saw that it was a question mark. When I tried doing a InStr() and searching for either a quotation mark or a question, I didn't get anything back.
Has anyone ever come accross this issue before in ASP?
|
|
|
|
|
It sounds like you have a problem with encoding. If the RSS feed is encoded using a specific character set, you have display it using the same character set.
The quotation marks in your RSS is probably not the regular inch sign (") that is usually used as a quotation mark, but typographic quotation marks. They are not in the lower 128 characters (ASCII equivalent) of the character set, so if you mess upp the encoding, their character code might not correspond to any character in the character set used. Those are usually displayed as squares. When decoded to unicode using the wrong encoding, they will be converted to question marks.
As RSS is XML, my first guess would be UTF-8 encoding. Check the source of the XML to see if it specifies any encoding.
---
Year happy = new Year(2007);
|
|
|
|
|
hi all,
i don't know exactly it is related to ado and ado.net.
What are the different types of 1.cursors and 2. lock types of “recordsets?” How different are they from “datasets”
i worked on ASP. i know this:
Types of cursors: Static, Dynamic, Forward-only, Keyset-driven.
Types of Locks: Read Only, Pessimistic, Optimistic, Batch
i think these are cursors & lock types of Recordset.. then how they are different form Dataset??
please can anyone clarify my doubt
Thanks,
Rahi
If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Google is your friend.
At a broad level, ADO.NET is designed to work disconnected. A dataset is a collection of tables, it has no cursor, it's filled from the database and then all the data is returned to you. There is no lock, either.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi, Lets say i have 3 textfields in asp.net form and i want check if any of them is empty to my javascript function is that possible to perform. I don't want to create three different function with the same functionality. Please help me
Thanks
I am callling like that
<asp:button id="txtField" runat="server" text="Save" onclientclick="return validateQuestion(txtField);">
function valdateFunction(textField)
{
valid =true;
if(document.form1.textField.value=="")
{
alert("Enter something.");
valid=false;
}
return valid;
}
|
|
|
|
|
yes, I solved my own question all i did is in If statment checked
if(textField.value=="")
|
|
|
|
|
Hi all,
Currently I am doing a project in ASP.NET using C#. I posted this message before but that was a different approach. Now I want to implement it this way. I have a Database in SQL Server containing 5 tables. I have 5 Listbox Controls which I have populated from the 5 underlying tables.
What I want to do is to bind the 5 Listbox Controls to the Repeater Control to display information. I can bind one ListBox to the Repeater Control. But when I try to bind the second ListBox it gives me an error message or it won't show the repeater when I select values from the Listboxes. Does anyone know how to bind More then one ListBox to a Repeater control.
Thanks for your help.
Looking forward to your reply.
Koonda
|
|
|
|
|
I just posted this on an earlier thread I had but since it's a week old I don't think anyone will see or answer it.
I am working with the calendar control and AJAX. Currently I am at a stand still in my pursuit to work smarter not harder. I don't want to make my own calendar control, but the ASP.NET control wants to use a form but since my main page already has a form tag it errors out being a form inside a form. Is there anyway to set the calendar control not to use postback so that it doesn't have to use the form? Should I just make my own calendar?
|
|
|
|
|
The web abounds with free javascript driven calendar controls.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
I am writing a log in form for my application. When the user attempt to log in I want to record the IP Address in the database. Is there any way I can get the IP Address of a request from a web page? If yes, how?
|
|
|
|
|
try
Request.ServerVariables["REMOTE_ADDR"]
or
Request.UserHostAddress
|
|
|
|
|
That worked. Thanks!
Voltaire (1694-1778) wrote: I may disagree with what you have to say, but I shall defend, to the death, your right to say it.
Jörgen Sigvardsson , on the subject of Wikipedia, wrote: Some people believe what the bible says. Literally. At least you have the chance to correct the wiki.
|
|
|
|
|
Hello,
I am trying to call aspx page of other web application in content place holder of master page of share point.
But not getting exact way for it. Actually that aspx page contains masterpage attribute attached to it. And this master page attribute point to asp.net masterpage.
And I want to show such aspx pages to master page of share point application.
Will it possible? What could be the way? How to use session created by asp.net in share point pages?
Please help me for the same.
Sachin Gedam
(Software Engg.)
Pune India
|
|
|
|
|
hello
some one have a example of how i get de data from tree view and insert this in 2 table database
for guide me
thanks for the time
|
|
|
|
|
can u tell me how to parse a resume in the word document format which is sent to a company.ie i want to separate the fields like name,emailid,academic merit,skills and experience from a resume format data input
if u can plz tell me
shalumurali16@gmail.com
|
|
|
|
|
Go through each line and compare your search if its found store it or whatever you want to do.
|
|
|
|
|
hi
i was downloaded a sample website from this link : http://www.codeplex.com/MyWebPagesStarterKit
but when i copy this site to my IIS virtual directory and run it,the following error shown me :
...
Line 26: {authentication mode="Forms"}
...
how to solve my problem ?
|
|
|
|
|
Hai,..
Two Options there.. 1st is Change Authentication mode of "Forms" into "Windows"..
2nd is Check ur IIS Virtual Directory..
Regards n Thks
Sam.M
|
|
|
|
|
i have a form in which i put a fileupload control to upload a file and actually save its path in data base. now i actually want that when i upload a image that should also display on the form how can i do it and how i can display a image at runtime after getting its path.
and another question is how i can access a cs file variable in my aspx file. like if a image url and i want to set it as a src value of image how can i do it
like
in my cs file i have declare a variable
string myim;
and in aspx file how i will access it
thanks in advance
|
|
|
|
|
Hi all,
I want to diable users from pressing Alt+F4 during using my web application. I need to enforce them to log off.
Any ideas..
Thanks
|
|
|
|
|
You can't. Also, what happens if they are using a Mac, or a Linux box?
|
|
|
|
|
OK, i agree with u for the other browsers, but my need here is to override the Alt+F4 whe pressed to remove the sessions i created during the application. I.E is there a java script function that gives me the combination Alt+F4.
Someone gave me this but it aint workin
if (window.event.altKey && window.event.keyCode =="115")
{
alert ("You will be logged Out!");
window.open(url);
window.close();
}
this could work with me if iam able to redirect to another page when Alt+F4 is pressed.
Regards...
|
|
|
|
|
damage ur keyboard.
its all right.
|
|
|
|
|
That can't happen. Why do you NEED to have them "log off"?
|
|
|
|