|
Why not just use the grid view? It can do this...
|
|
|
|
|
Oh dear... I don't think you've got much idea of what .NET is all about, have you? If you haven't got it already, I suggest you download either Webmatrix or Web Developer 2005 Express Edition (both are free) from here[^] and, if you can't get hold of a good book do some online research[^] and start from the beginning....
good luck
|
|
|
|
|
Hi all
I m using cookie to store some information at client side.
I want to encrypt cookie.
Thanks in Advance..
Amit Metkar
3i-infotech, Mumbai.
|
|
|
|
|
|
hi Amit,
i saw the solution related to your query in one of the site.there complete idea is given for your query. just check out the following url.
http://www.15seconds.com/issue/021210.htm
Hope that above url will defiantly solve your query.
Thank you
Dilip
|
|
|
|
|
|
Hi all,
I need to disable the popup blocker programatically in my application.I mean through code i have to disable popup blocker.How can i do this?
Thanks in advance.
Lijo Rajan
|
|
|
|
|
Lijo Rajan wrote: I need to disable the popup blocker programatically in my application.I mean through code
It's not possible in ASP.NET as it runs on server and pop-up blockers are installed on clients browser
|
|
|
|
|
Can't we use some javascript in client side to block popup?
|
|
|
|
|
Lijo Rajan wrote: Can't we use some javascript in client side to block popup?
Nope. It violates security. Use javascript to open new windows. If you try to open a new window by registering a client script block or writing script to response, you will be blocked by blocker. I think JS window.open will work fine.
|
|
|
|
|
I am using JS window.open to call my aspx page as popup.For that page also getting blocked.
|
|
|
|
|
Can you post the code which you used ?
|
|
|
|
|
I am using the following code.
function showPageHelp(pageLink)
{
var popup = window.open(pageLink,"ipms",'width=700,height=600,status=no,scrollbars=yes,resizable=yes,top=15,left=15');
popup.focus();
return false;
}
|
|
|
|
|
This looks fine. Try removing that focus. Is that really needed ? Also make sure you are not setting this JS method from code behind.
|
|
|
|
|
I removed focus.And js is not in my code behind.i am using that function in aspx page only.then i am calling that function in the onclientclick event of button.
Still its not working.
|
|
|
|
|
I have a suggestion.It is better to use modal dialog instead of open.
ie,window.showModalDialog(pageLink,null,'dialogWidth:850px;dialogHeight:650px;dialogHide:true;help:no;scroll:no;resizable:no;status:no;edge:sunken');
Arun J
|
|
|
|
|
Hi,
We have an application where we send out mails to our clients through a C# program. In one of the mails, the mail content is HTML content, with some hyperlinks and images (in anchor tags). The image files are residing on the server.
When we open this mail on the server, the image files are displaying alright but when we open the mail on other machines, the image is not showing up.
How do we make images appear in the HTML content when the mail is opened in the client machine? We are writing the content in the mail with Javascript. This javascript is being called from and ASP.NET form.
Thanks in advance
RS
|
|
|
|
|
SB wrote: How do we make images appear in the HTML content when the mail is opened in the client machine
It depends on how you give image path. You should give full path like (http://www.mysite.com/image.jpg). See this article[^] for getting an idea on embedding images on mails.
SB wrote: We are writing the content in the mail with Javascript. This javascript is being called from and ASP.NET form.
Do you mean your mail contains JS code and you wish them to execute when recipient opens mail ? Usually mail providers will block contents like JS for security reason.
|
|
|
|
|
So you're sending HTML with links, or you're sending a lot of jscript ? Either way, you can't control how someone sets up their mail program. Most people would hide images in mail, they are usually used to send spam.
Christian Graus - Microsoft MVP - C++
"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
i have 2 master pages and i need to tell the same page once to use 1st master page and once the second master page. How can i do that?
|
|
|
|
|
You can use the OnPreInit event to load and change masterpages..
protected override void OnPreInit(EventArgs e)
{
base.OnPreInit(e);
if (Request.QueryString["Header"] != null && Request.QueryString["Header"].ToString() == "Operator")
Page.MasterPageFile = "~/siteOperator.master";
else
Page.MasterPageFile = "~/siteDefalt.master";
}
Rcnair
|
|
|
|
|
Hi,
I have a problem with Grid view. My client required to click anywhere the grid view row and edit the contents, instead of using Edit button which is combined with Grid view. They don’t want to see the edit button .they want only to click the gridrow and it shoud be turned to edit mode.any one have the idea about this. Please help me!!
Rcnair
|
|
|
|
|
Have the edit button as visibility:hidden, and click it using javascript when someone clicks the row.
|
|
|
|
|
hi,
i'm using a fckeditor for online editing feature.
what i want when a user click on "Save As word file".
All the Contents of fckeditor must be saved into the word file on the local system.
how can i do it
All suggestions are welcome
Thanks
Amit Agarwal
|
|
|
|
|
I'm writing java script in aspx page(this is inheriting master page).
this code to get value of TextBox1.Text :
document.write(document.getElementById('<%=TextBox1.ClientID%>').value);
now my question is :
How to assign this value in TextBox2.text ? like this not working
TextBox2.Text = document.getElementById('<%=TextBox1.ClientID%>').value;
thanks in advance
Harry
You get the best out of others when you give the best of yourself.
|
|
|
|