|
Hi,
You are not getting my requirements. Dont think of that file upload control, where you can select only one file at a time. Please think of some user control where at one click, I can select more than one file.
Here in file upload control what we are doing is, we click on browse everytime for every file. I dont want that to happen. I think now you can understand my requirement.
Could you please solve my problem. please...
Thanks and Regards,
Hariharan C
|
|
|
|
|
Hi all ..,
in .net 2003, in the Html view with in the body there we got onload="" event which fire during the page is loding
like
Now we are migrating the 2003 application(Already developed) to the 2005...here we are using master pages ...In all the webpages am using master pages
while doing that in the HTML view there is no body tag(and onload="" attribute) for the content pages..But it is must to call
alertmsg(); while loding the page ..So plz let me have some solution to solve this scenario or send some related articles ...
Thanks in advance
yuva
|
|
|
|
|
If you add runat="server" and and ID to the body tag on the master page you can then use code such as pageBody.attributes.add("onLoad", "alertmsg()") in your code
You will need to explicitly type your reference to the master page so that the control is available. Alternatively you can use FindControl to find the body tag and add the attribute
If you need any clarification please post back.
|
|
|
|
|
|
how to edit datagrid and edit in backend also ie sqlserver in asp.net using vb.net..... am chick in asp.net so someone teach how to fly by answering my q... any one pls
-- modified at 5:56 Tuesday 17th July, 2007
vivek nanda
|
|
|
|
|
chapathi wrote: how to edit datagrid and edit in backend also ie sqlserver
|
|
|
|
|
sir i want to edit datagrid in asp without inserting textbox r dropdown etc .. weather its possible to do so.. if so send my some tips sir.
vivek nanda
|
|
|
|
|
chapathi wrote: weather its possible to do so
How Climate will play for it.
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
Hi,
I'm using master page with one ContentPlaceHolder, and in the webform that is using this master page I have a few div tags with runat server property. Their id are unique and I refer to them in css and java scripts. The problem is that asp.net modify id property of the div (and other controls runat server), when it is being used in the asp content cotrol, by adding some prefix like ctl00_ContentPlaceHolder1_ . How to force asp.net to generate the page with id's specified by me in order to not change css styles to classes and make use of java scripts.
Thank you,
Mariusz.
|
|
|
|
|
Short answer: You can't.
Long answer: But you can use the control.UniqueId property to use as a reference in your Javascript. You might be better using classes rather than the control id's as references in your CSS.
|
|
|
|
|
mmiesi wrote: How to force asp.net to generate the page with id's specified by me
I hope, its not possile to force asp.net to keep the same id as you specified.
BUT, You can get the Client Id of your server control in your javascript.
var example=document.getElementById("<%= txtBox.ClientID %>");
Here, txtBox is a asp.net TextBox server control. Hope it helps!!
Jey
|
|
|
|
|
It will work only for embedded js, isn't it? What about external one?
Best,
Mariusz.
|
|
|
|
|
Hi All,
I worked on MS Studio 2003 and I want to resize Columns to fit content length.
How Can I do that in MS Studio 2003?
Ala Qunaibi
Ala Qunaibi
|
|
|
|
|
ALAQUNAIBI wrote: MS Studio 2003
ALAQUNAIBI wrote: I want to resize Columns to fit content length.
Columns of what ?
|
|
|
|
|
the quick way out is to untick the "wrap text within cell" property of column items.
|
|
|
|
|
how to move items one reorderlist to another reorderlist in AJAX
www.serkannet.com
|
|
|
|
|
hi folks...
i am developing a project using Asp.net (2005) i Have a button called CmdEdit . and the caption(Text) will change from edit to Update when clicked on it.. now i need to use the confirmation using javascrpt when he clicks on update... Like
Do u want To update and two buttons OK Cancel
Totally i need to display a confirm box after he updates and clicks on update button
thanks in advance
|
|
|
|
|
Write javascript function and the call it in button property OnClientClick.
God Bless you.
Always do good to others
|
|
|
|
|
devkranth wrote: now i need to use the confirmation using javascrpt
return confirm("Are you sure to update");
|
|
|
|
|
hi
thanks for ur reply
i am using it OnCLientClick Propety now wannt 2 update based upon the return value in the codebehind
|
|
|
|
|
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
|
|
|
|