|
devkranth wrote: Re: Please help....
Please give meaningful subject Always
devkranth wrote: i need to use the confirmation using javascrpt
write the function and do the following
function CallMe()
{
var K = confirm("Do you want to Update");
if (k)
{
//Do the code after click on OK
}
else
{
//Do the code after click on Cancel
}
}
and call the function onClick event
Hope It Helps
regards,
koolprasad2003
If the message is useful for U then please Rate This message...
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
hi prasad
i want to display the confirm message after he selects the id and updates the data
The Flow is as follows
1.user clicks in edit the catpion is changed 2 Update
2.User Selects the id n accoording to the selected id the data is displayed in there respective textboxes
3.User Changes the neccessary data..
4. When user clicks on the Update Button i need the Confirm Message DO u wantto update?
|
|
|
|
|
I'm exporting a crystal report to ms word but it generates bolcks when i try to edit. I want the word to be normal without blocks
nzibi
|
|
|
|
|
In the label, you have a property called AssociatedControlID and in TextBox, you have a property called AutoCompleteType. Can you tell me what is the use of it?
Regards,
LEE
|
|
|
|
|
Hi,
AssociatedControlID
property any click on the Label extends to the associated control. In case of an associated TextBox the effect is that when clicking on the Label the TextBox gains focus.
AutoComplete
monitors a text box and creates a list of values entered by the user. When the user returns to the text box at a later time, the list is displayed. Instead of retyping a previously entered value, the user can simply select the value from this list.
God Bless you.
Always do good to others
|
|
|
|
|
Try single clicking on the properties you will get a brief definition of the property and its usage.
Most of the time it is enough to understand the functionality!!
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
Hi
I am developing an application in ASP.NET USING c#.
In that , I am using javascript for on mouse-over on my icon and showing some message.But these messages are in french like Réservation.
So here is special character as `.
So it gives me error in javascript as UnTerminated String.
Please let me know if any body knows solution.
Swapnil Bhavsar
|
|
|
|
|
Place a \ sign in front
<br />
var msg;<br />
msg = 'Please enter \'Some Text\' here';<br />
|
|
|
|
|
|
I think the document charset needs to be like Unicode right. I have encountered similar issues using ALT+145 (æ ) character in .JS file. But the same works from .ASPX page.
|
|
|
|
|
Hi
I am Narayana
I am developing one WebAppliction that Application needs Upload Videos to Server and store them in Database, while uploading i need to Stream that Video
Can Anybody Help me Regarding VideoStreaming and Upload Video to Wevserver and store that video in database
Thanks& Regards
Narayana.J
|
|
|
|
|
Which format are you using?
WMV can be made to utilise Media Services server right?
|
|
|
|
|
hi
Thank you For Replying
I am using mpeg and WMV Format
I need to Convert into Bytes(stream) that files and store them in Sqlserver Database.
Thanks & Regards
Narayana.J
|
|
|
|
|
Pleae help me to acess Menu Control's Items. How Can I manipulate Menu Items from code (C#)?
Thanks,
I'm using Master Pages if it makes some differance.
|
|
|
|
|
Use the following!!!
menu_name.Items[i]."properties....
You can get and set them as you like!!!
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
Thansk for response, I knew that but It doesn't work That's Why I asked it here. Here is my situation:
I have a master page where the menu is located, and in Page_Load i'm tring to write this:
if (!Context.User.IsInRole("Administrator"))
{
// here i'm tring to disable some menu items
}
but When I type Menu1 (which is Menu's ID) nothing heppens. and i do not know why...
Thanks
|
|
|
|
|
To access the objects in the master page you need to create a masterpage object in the page you are referring!!!
Before pageload write
master_page_class_name masterpage_objectname;
and write this is pageload:
masterpage_objectname= (master_page_class_name)Page.Master;
Now use the masterpage object to alter the menu
hope that helps!!
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
but I'm trying to reach menu1 from *.master.cs file.
Thanks for info anyways.
|
|
|
|
|
Thats quite weird!!
You should be able to do that...anyways..try to figure out something im not getting any ideas
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
maybe that's because menu is in big LoginView?
|
|
|
|
|
wats a big login view??
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
LoginView is a standart control which comes with VS. I have a master page with this login view like so:
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Environment.master.cs" Inherits="Optical_Box_Manamgemt_System.Environment" %>
<title>Title
<asp:loginview id="LoginView1" runat="server">
<loggedintemplate>
//Everything Goes Here, Including Menu and Content Place Holder
if you are skype user you can add me, my skype name is same as my nickname here.
Thanks for Help
|
|
|
|
|
Hi all,
iam binding a description field varchar(500) to a grid view. i want to display in the grid view the only first 20 or 30 characters only and not all the characters in this field. Is this possible? Thanks
|
|
|
|
|
Hi all,
I want to upload multiple files in ASP.Net 2.0 with the file upload control. So I have download the source code "Upload multiple files Hotmail style -
Kwame Hubbard" from the following site.
http://www.codeproject.com/aspnet/multiuploads.asp
It seems that everytime I invoke this method, it will tell me that "Error - a file name must be specified" no matter what I do. The add and remove methods work just fine.
In anycase, in the upload method, it seems to always think that filecount or ListBox1.Items.Count is equal to 0, and therefore won't proceed with the uploading.
Is it because the buttons themselves are webcontrols, while the upload is a htmlcontrol? Somehow the html control is not able to access the existing value of filecount.
So could you please help me out to solve this problem. Please its very urgent.
Thanks and Regards,
Hariharan C
|
|
|
|
|
Hello
I am not getting why you are going behind the way what the article explained ? Uploading multiple files will be such a simple task if you use gridview and normal HTML upload file control. What you need to do is
1. Place a GridView
2. Add template column
3. Add File upload control to template column and make it runat=server
4. Codebehind, use gridviews FindControl() method to find the upload control.
5. Use uploadcontrolObj.PostedFile.SaveAs(filename)
If you are uploading very huge files, you need to change something in Web.Config .
|
|
|
|