|
Hi Guys,
How can I declare MEMO variable in asp.net 2.0?
I will be using this for storing email content value so I can get the html value and stored it into the database.
Thanks
hifiger2004
|
|
|
|
|
hifiger2004 wrote: How can I declare MEMO variable in asp.net 2.0?
What is MEMO variable ? Your question is not clear. Please explain it clearly.
|
|
|
|
|
memo variable like rtf for example.
Actually this is related with my other concern about converting string to html.
If there's a way to convert string value to become an html format, then that's what I need.
But just couldn't made it.
hifiger2004
|
|
|
|
|
Hi there.
I currently have a website and on a couple of my pages there are horizontal toolbars that I wish to remove. I'm pretty sure that there is a way of removing these but am not sure how.
Just wondering if anyone had any ideas?
David
|
|
|
|
|
Reduce the width of your page, and the browser won't show scrollbars. If you want to hide scrollbars, check out the CSS overflow attribute... but your page will still be too wide, and now users won't be able to scroll to see it (well, not with scrollbars at any rate).
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
can i reduce the width of my page within the script? I have even opened the page in MS Visual Web Developer and reduced the width of all paragraphs, images etc. But still no good.
|
|
|
|
|
you can. in as much as you use a width size that is not that too wide.
you can use a width of like 850px, that might do the magic for you.
cheers!
|
|
|
|
|
Brother, you may need to spend more time with your HTML reference. There are a lot of ways you can (intentionally or otherwise) force your page to be wider than it needs to be - large images, and absolute widths on tables or other elements are common - but potentially there are more subtle factors at play here (for instance, a table with two columns, each sized to 50%, may become wider than the viewport if there are borders, margins, or rounding errors in the browser itself). The use of an editing tool such as VWD can make these even more difficult to track down by obfuscating the actual styles in effect.
I recommend simplifying the page HTML as much as possible, to help make the source of the problem more obvious. Also, consider installing the Firebug tool for Firefox - it lets you visually examine the calculated dimensions of each element on the page, and by drilling down with this tool in hand you may be able to more quickly determine all that has contributed to your current predicament.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Try to display your code first so that we can check!
|
|
|
|
|
try this on your body onload event
document.body.style.overflow='hidden';
Regards
N.Surendra Prasad
|
|
|
|
|
Hello, there,
I am using Ajax in an application page in SharePoint 2007. I found that when there is an exception. Ajax will show a dialog box says " Sys.WebForms.PageRequestManagerParserErrorException: The message
received from the server could not be parsed.", and the original exception message is not displayed.
I know I can use registerpostbackcontrol() function to register the button that causes the exception to make the original SharePoint error page to show up. But I do not want to do that. Is there any other way to make the original SharePoint exception/error page to show up?
Thank you very much.
Best regards,
Bin
|
|
|
|
|
This is actually trivial. If you were using simple AJAX techniques built directly on XMLHttpRequest. See, that API gives you a handy responseText property that will give you what the server sent back without trying to parse it first.
But you're not. You're using some sort of complicated .NET thing built to conceal the simplicity of XMLHttpRequest. Try the ASP.NET forum[^], or perhaps find a Sharepoint forum. A place where masochists gather and delight in sharing tales of their byzantine workarounds for this baroque platform.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Hi everybody,
I need to call/include/import a JavaScript file (*.js) in another JavaScript (*.js) file. How can i do this.
I tried to do writing a line in script file like:
document.write("");
But this method writes the line to the document so i cannot use/call functions from another files which are stored in different folders.
Thanks for your help.
|
|
|
|
|
Ahmet GULBAY wrote: I need to call/include/import a JavaScript file (*.js) in another JavaScript (*.js) file. How can i do this.
I had no idea so I Googled: Javascript include
and found this on the first page of results[^]!
led mike
|
|
|
|
|
You're on the right track - but instead of writing to the document, create the <script> element using document.createElement() , set the attributes programatically, and then attach it to the document.
If you want an example... or a robust, ready-to-use implementation... check out the jQuery getScript function[^].
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
|
Script tags aren't parsed in Javascript files. I assume if he knew what needed to be loaded up-front, then he'd put that in the HTML though.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
i have a doubt to ask to u about flash.
i did one flash file with action script.
i embedded this file to dreamweaver.When iam taking the browser it is not coming.
They are asking for activeX.
without action script it was running.
Can u tell me how to enable web content for flash???
u know anything about ajax??
by rani
rani
|
|
|
|
|
Try this:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="500" height="500" id="your_ID" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="yourFlash.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="yourFlash.swf" quality="high" bgcolor="#ffffff" width="500" height="500" name="yourFlash.swf" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
|
|
|
|
|
I have a website that allows the file Demo.zip to be copied from the server in the usual line:
Download Demo here
Is there some way that a notification of this copying can be recorded in the server ?
For some people there must be an obvious solution, but not to me !
Thanks,
Raymond Mercier
|
|
|
|
|
Unfortunately the code that I wrote in the question
Download Demo <a> href="prog/Demo.zip" here </a>
got treated as an active line.
So I repeat the question, is there some way that a notification of this copying can be recorded in the server ?
For some people there must be an obvious solution, but not to me !
Thanks,
Raymond Mercier
|
|
|
|
|
a solution could be controlling download by code not by just referring to it, for example by a separate download page or using Response object to write the file, search for it and you will find many resources like this http://aspalliance.com/259[^]
I Wish the Life Had CTRL-Z
Wizard's First Rule : People are fool,they believe what they want to believe or what they afraid to believe
www.subaitech.blogspot.com
|
|
|
|
|
Thanks, but I have had a look at the site you mention, and can't see how it helps.
I am looking for some kind of log file in the server which would record the fact that the file has actually been downloaded from the server to the client. I feel that if I knew something about asp I would know the answer.
Raymond
|
|
|
|
|
hi,i thought you want to do this programatically, my bad
the solution i had in my mind was storing download data by controlling download with asp code
I Wish the Life Had CTRL-Z
Wizard's First Rule : People are fool,they believe what they want to believe or what they afraid to believe
www.subaitech.blogspot.com
|
|
|
|
|
I want to show yahoo messenger,rediff bol,msn on my custom web page.
please tell me steps one by one.
Is API of these messenger required and if yes then from where i can get it.
modified on Tuesday, July 1, 2008 5:20 AM
|
|
|
|