|
Hi
I open modal popup windows using java script in asp.net.
function OpenChild()
{
var WinSettings= "resizable=no;dialogWidth:510px;dialogHeight:350px;help:no;maximize:yes;minimize:yes;scrollbars:yes";
var MyArgs = window.showModalDialog("http://localhost/Test/Test.aspx",WinSettings );
}
Popup window is open well. But, there is lot of text on Test.aspx. Now, I want to select text for copy. But text is not selected. I would like to know that how to select text and right click of mouse on modal popup?
If, is there alternative way to do this please tell me.
Any help is appreciated.
Regards
Rajesh
rajesh
|
|
|
|
|
That's what modal means, you can't interact with the parent form.
You could use a floating DIV, which could be modeless.
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 )
|
|
|
|
|
Hi,
Thanks for reply
Actually, child modal popup windows contain lot of text. Now, I want to select that text so that I can copy and paste in text file. I am not taking about parent form. My question is concern with Child Modal Popup Windows.
Please tell me any other solution.
Regards
Rajesh
rajesh
|
|
|
|
|
Dear All,
i am using asp.net2.0 ,C# .
let me tell you scenario.
i built a web application called daily call report that have two classes in the folder app_code and other aspx file and its code behind file.
now i have to deploy this web application but problem is I have to incorporate this web application other web application that is my site will run thrugh other application whenever user select to go my site.
now i published my whole project and placed the all dll inside root folder (that is i placed my aspx pages inside folder called dailycallreport and all respective dll to bin folder ) now issue is the classes i have wriiten generates app_code dll and it conflict with existing app_code dll. i placed bin inside dailycallreport folder but i is not recongnizing . client is not giving all classes they used so it not possible to overwrite the same app_code i would like to know how can i placed my class file dll so that other setting does not affect ..
please suggest something.
Thank you.
regards
imran khan
|
|
|
|
|
Create a new app in IIS at the subfolder level, then deploy there
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 )
|
|
|
|
|
Hi all,
may be this is a very simple question but i am just getting wild on it. i have image path in a database and and its description which is a very long text now i want to display image in left and its description in right. I have table and in one row in td i have imaneg and in another i have is descrtion
<table>
<tr>
<td>
//display image here
</td>
//display description here
<td>
</td>
</tr>
</table>
now what happens is that i get a very long string in descriptin in single line so its td gets wider how can i fix this.so that the string is displaye like 100 charecter perline
i know this is very simple question but some time we get stuck.
one more question (not important to replay) does ane one provide me with idea like how can i make site like that of newspaper means layout once agin this question is really not importat to replay but earlier one i am just stuck
|
|
|
|
|
hiii.....try to set the width for the "td" to a certain value.... i hope this will solve ur prob
regards,
deep.
|
|
|
|
|
Ive read many an article where it suggests that having a website with a newspaper layout is very bad for usability.
There has to be a point where the text on screen is displaued differently to that of a newspaper.
What you could do is put an image in the top corner and make it look like a corner of a newspaper for style affects, however i think the text should be displayed normally.
Regarding your first question, I would just limit the lenght of the column that should move it onto the next line
|
|
|
|
|
Hello friends,
In my application i have to use anchor tag for redirecting to another page.
I want to pass customized url as url+querystring but unable to do it.
I have saved the querystring in a span.
but how to get value from span and pass it to anchor.
Please help me........
Thanks in advance......
Deepak Nigam
|
|
|
|
|
Why not just render it in the anchor in the first place ?
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 )
|
|
|
|
|
Hi
how can i implement SSO in ASP.NET with Windows 2003 Active Directory?
Thank you
Jack
|
|
|
|
|
I have an asp.NET 3.5 web project in C# that includes references to
System.Core
System.Data.Linq
System.Xml.Linq
and a page with the following test code ...
var a = (from b
in columns
where b.IndexOf("IDENTITY") == -1
select b).Single();
The solution compiles, but when I run the application I get the following error ...
Compilation Error
Description: An error occurred during the compilation of a
resource required to service this request. Please review
the following specific error details and modify your
source code appropriately.
Compiler Error Message: CS0234: The type or namespace name 'Linq'
does not exist in the namespace 'System' (are you missing an assembly reference?)
Source Error:
Line 15: using System.Text;
Line 16:
Line 17: using System.Linq;
Can anyone help?
EDIT: I've just found this page http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3114187&SiteID=1[^]
It looks like I need to add the correct version of the references and add some information to the web.config file.
EDIT 2: I've checked all the references and they are fine, now I get a different error ...
CS1026: ) expected
yet this works fine in a console application with exactly the same references!?
Jim
modified on Thursday, May 8, 2008 5:23 PM
|
|
|
|
|
I used to get a lot of errors about LINQ earlier.
You need to re-create the references again for LINQ from following path:
C:\WINDOWS\Microsoft.NET\Framework\v3.5
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
How should I use database in multiple languages website?(I use localization in my website).How should design the tabels?
|
|
|
|
|
I dunno that I'd expect to store multi language stuff in the DB, but if I did, I'd probably have a column for each language supported.
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 )
|
|
|
|
|
can you give me a reasorce for How use my database?
|
|
|
|
|
If you google your query then you may found some more articles relating to what you want
|
|
|
|
|
I am creating a custom gridview and need to pass the page's sortExpression string to the custom gridview control. I tried using the ViewState; however, it does not work. Next, I wanted to use a .Net class that implements the IStateManager for this purposed; however, I could not find one available. What is the best way to use the viewstate for passing a string value from a web page to a custom control or is there a class that implements the IStateManager that I can use. I would hate to build a new class the implements IStateManager just for passing a string. Note: currently I have to use a static property in the custom control for doing this but would like to use viewstate.
Thanks
|
|
|
|
|
The obvious way is to have a property in your custom control and just pass it in with code from the page that contains it. Viewstate exists only within the page, or the control, it doesn't cross over like session state does.
Steve Holdorf wrote: Note: currently I have to use a static property in the custom contro
Why ?
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 )
|
|
|
|
|
The reason I used a static property in the custom control is because on each postback the custom control is garbage collected so if the property were not static it would be lost.
Thanks!
|
|
|
|
|
Anybody Knows How to create Dynamic gridview? Plz put the code.
Thanks in Advance!!!
Sabarees
|
|
|
|
|
GridView gv = new GridView();
Then add it to a controls collection. Why do you want to do this ?
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 friends,
Please first visit my page tutorbene.co.uk
there click on free demo i have used a div that is poping out but my problem is that if i scroll this page up or down the whole div moves.
I want this div to be positioned on the left bottom position.
Please help me.....
Deepak Nigam
|
|
|
|
|
How to display same column values in a harizontal order in gridview?
Thanks in Advance!!!
Sabarees
|
|
|
|
|
You can't, unless you change your data source accordingly. The easiest way to do this is a repeater.
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 )
|
|
|
|