|
It's quite embarrassing for a guy who's supposed to have a working grasp of the English language to have such difficulty communicating a concept.
I want users to paste a script into their page that will result in a list of stuff being displayed, just like the Google Ads example I gave. And I'd like the source url to be not a javascript file, but a regular .aspx file.
Does that help?
|
|
|
|
|
Yeah that's what I was guessing at. But I still don't know if that's what you need. The solution you are searching for is dependent on if you are providing presentation or data, which I still can't tell from your posts. You can also provide both of course but that is not generally done. The separation of content from presentation is normally adhered to these days. If you are providing a presentation component then that is a software component and there is no need for a server resource as part of that solution. If you are providing content then should just return XML from the server and let the consumer present it in whatever fashion they desire. Does that help?
led mike
|
|
|
|
|
Hi,
I am using asp.net 2.0, trying to create chat application. I am copying the user entered text to a asp.net textbox using the following java script function
document.getElementById("TextBox1").value= "chat message entered by user";
userid = location.search.substring( 1, location.search.length );
url = 'Chat.aspx?action=chatmsg&u=' + userid ;
req = getAjax();
req.onreadystatechange = function(){
if( req.readyState == 4 && req.status == 200 ) {
updateAll();
}
}
req.open( 'GET', url, true );
req.send( null );
with the following asp.net textbox definition
<asp:TextBox ID="TextBox1" runat="server" AutoPostBack =false ReadOnly=false ></asp:TextBox>
and i am handling the ajax postback @ chat.aspx like this
chat.aspx's page load method
protected void Page_Load(object sender, System.EventArgs e)
{
string chatMsg = TextBox1.Text;
}
But the problem is i always see the TextBox1.Text as empty instead of "chat message entered by user" which i copied thru javascript function, but i can able to see in internet explorer that the TextBox1.Text gets updated when i call postback.
I put alert before calling chat.aspx like this
alert("TextBox1 text VALUE = "+document.getElementById("TextBox1").value);
it is also showing the updated value, but i could not able to see in the codebehind (page_load method)
But if i do any postback thru button click, i can able to see the updated vlaue of TextBox1.Text
Can somebody help me out.. what went wrong on this?
Thanks
Srini
|
|
|
|
|
If you run your app and then watch the html source via your browser you will find the ThextBox1 control has some additions. Put that one in your getElementByID().
|
|
|
|
|
How can I find a website starterkit that it has two diffrent languages?
I search in msdn but it was not any.
|
|
|
|
|
What do you want ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello All,
I am using TreeView Web Control with ASP.NET 1.1. It is working fine but i have one problem when i expand one node, the previous one still remain open. Is thr any way to customise this control so that i can expand one node at a time and prevous open node must collapse when i try to expand the new one?
Please reply
Thanks in advance
|
|
|
|
|
Hi, Suneet.
I just addressed that particular issue in a 2.0 site I was working on. The fix was fairly straightforward.
I maintain the currently selected node as a property. In the event handler where a node gets selected, I first collapse the currently selected node that the property refers to. I then allow the newly selected node to be expanded, after which I update the value of the property to the new selection.
Been a while since I worked in 1.1 but I believe that conceptually, a similar approach will work for you as well.
Hope this helps, man.
|
|
|
|
|
How can I programatically define a style sheet on an asp .net page?
|
|
|
|
|
Yes, of course. Just use the RegisterClientScriptBlock method to insert the CSS into the page.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
On the rare occasions that I post a coding question, I usually spin through the board to see if there's anyone else that I can help. Karma and all that, you know. And so it was tonight, but half the stuff I see has already been answered by you.
What are you, Robo Poster or something?
|
|
|
|
|
*grin* that was 7 hours ago, it must have been slow today. IT's been my work day, I've not been on for a few hours now
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
Not sure what the best forum for this question is, so I apologize if this is not the right place...
I'm wondering if it's possible to query IE from a Windows process (as opposed to a browser plug-in) to get info on the web forms that the user is filling out. For example, what data has a user entered in a form field, and what is the form field name or ID that the user just entered data into. Are there IE events that publish this kind of information? It seems like it could be a security risk...
Thoughts?
Thanks!
|
|
|
|
|
hi friend
i am using .net2008 on vista whree i sendind SMTP mail but error is produce :- Cannot get IIS pickup directorywhen i see in intupub then there is no any mailroot folder so how i can solved this problem please help me.
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Unlike previous versions of Windows, Vista does not include an SMTP server out of the box. You will need to install a 3rd party product. There are some recommendations for in this post [^] and in this [^] one for some alternate SMTP servers.
Hope that helps.
--Jesse "... the internet's just a big porn library with some useful articles stuck in." - Rob Rodi
|
|
|
|
|
but how i use it?
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
I would suggest that you read the items that I linked for you, as they both provide examples for their respective servers. If those examples are not to your liking, my recommendation would be to visit the website for the server that you chose and peruse the documentation found there.
|
|
|
|
|
How can I create a website with two diffrent langauges?whate codes should I use in my form.please help me.
|
|
|
|
|
Here are a couple of resources to help you get started:
- Google[^] search for ".NET Globalization".
- Microsoft's landing page[^] for ASP.NET localization
- Thang Tran's article[^] on satellite assemblies here at CodeProject
Good luck!
--Jesse "... the internet's just a big porn library with some useful articles stuck in." - Rob Rodi
|
|
|
|
|
|
Does the application name match with what is in the database table? I'd check there first. If you are trying to login with a user that was created with a different application name then you won't be able to login. You'll have to change the value in your config file.
|
|
|
|
|
|
I am using crystal reports to display reports for my application. I want to print a report for which I am exporting it to a PDF export. On production server I see report being displayed correctly but when I export it to a PDF format, it displays a blank page. It is exported fine on my local machine which has a higher version of acrobat. But the production server has acrobat 5.1. Could it be because of the acrobat version?
Thanks
|
|
|
|
|
Hello Friends,
I've four div's and four link if i click on Link1 then first Div1 is displayed or opened and if i click on Link2 then Div2 is displayed and so on..
But i want if i click on Link2 and Div1 is already opened then it must display Div2 and Hide Div1
I mean only one Div must be displayed at a time as i click on the link respectively.
|
|
|
|