|
Iam learning here. So my question might be basic
What do you mean by a real web part. Iam new to this
and so trying to learn.
Do you mean i should wrap my list control to a user control and
do this or do i need to write a custom web part.
I thought if you keep any server control inside the zone it becomes
a webpart. Iam just reading a book and implementing this
Thanks
|
|
|
|
|
You should indeed read up on the webpart subject.
NETLearning wrote: I thought if you keep any server control inside the zone it becomes a webpart.
It only looks that way. Your control gets wrapped in a WebPart, it does not 'become' a WebPart.
As I said before, to find your ListView loop through your Controls collection to find it and then locate its parent(the webpart).
|
|
|
|
|
hi all dev's
i have a problem and want some help, i have a showmodaldialog and its working fine but when i finish from it and click on button (ReName) the showmodaldialog take fulll size page and stops in it, now am providing the code to be more clear for u:-
(child page)
function ReturnParam()
{
var password= window.dialogArguments;
var old = document.getElementById("tbPasswordConfirm").value;
if(password!=old)
{
alert('Password does not match....');
}
else
{
var param = document.getElementById("tbNewPassword").value;
alert('New Password have changet to ' + param);
window.returnValue = param;
window.close();
}
}
what seems to be the problem.....!!!!???
|
|
|
|
|
use
window.opener='self';
window.close();
Setting window.opener will ensure that the window will be closed on next window.close call.
|
|
|
|
|
thx, that did work
|
|
|
|
|
Hi frds...
I am working with admin part of web application, and I want to give a facility to administrator to publish a release note first on testing server for a particular time period (administrator will give a date for publish it to live) and later when time will pass it will automatically publish on live server.
So my question is that how I will update live database with a given time ...
thanks
|
|
|
|
|
Does this things need to be done using ASP.NET ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
m(_ _)m Abhi for not writng details ..Yes it's in Asp.net and c#, Ms Sql server.
|
|
|
|
|
Hi all,
I am writing an ASP.net application. I have the Microsoft Visual studio 2008 sp1 installed.
I am using AJAX modal popup to get a postback control.
But, it doesn't seems to be working somehow,...
I am not able to solve the mistry of calling the function written in the .cs page from the .aspx page using a modalpopup extender.
Can i get some help on it...?
|
|
|
|
|
Using Google is easy.
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ModalPopup/ModalPopup.aspx[^]
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Hi,
I am using a webservice on my main website I want to debug the given webservice with particular input parameters.
Is it possible to debug a webservice by placing breakpoints so that the user can directly jump to the webservice when it is called?
I hope You are getting my point.
Thanks
Shankbond
|
|
|
|
|
|
Hi Abhijit,
The first article describes about the IIS beautifully but I have a problem here, You said that I can see the w3wp.exe running on my task manager but I cannot see this what does this mean?; On the other hand I have hosted my webservice on the IIS which is running beautifully?
Please explain
Thanks
Shankbond
|
|
|
|
|
shankbond wrote: You said that I can see the w3wp.exe running on my task manager but I cannot see this what does this mean?;
What is the version of your IIS ?
if it is IIS 6.0 or more, you will get "w3wp.exe"
if you are having IIS 5.1 then you will have aspnet_wp.exe
My Article was all about IIS 6.0
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
OH! thanks,
One more thing: I have a website running on production server when I connect through my LAN to that server do I need to have User Id and Password for that system to connect to it, and through which port I will be connecting to it so that I can create an exception on firewall.
Please reply
Thanks
Shankbond
|
|
|
|
|
Useful??
Related link if you have problems finding the right .pdb files
|
|
|
|
|
Remember a Web service is like a Method in another Class , but lets say you only have a DLL and you add a Reference to that DLL. You will can add a breakpoints where you create an object of the Class fill the Time you call the functions of that class , but you can walk through the DLL. you need a Source code for that. Same Applies to the web service, you can walk through it.
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Hi,
I created one Java script function, its validating between two cells from gridview , like if(cell[1] < cell[2]) if it so i am populating alert("wrong input"); return false;
if its false then the Text Change event should not fire from Code behind..but This event is fired even function return True/false.. That to i was called the Javascript function in Onblur event ...can u give me the Solution for this issue???
regards,
kannak.....
kannak
|
|
|
|
|
How you invoking you event? Is it through js?
Please don't forget to mark 'Good Answer', if you find it really a good one!
Kashif
|
|
|
|
|
There's a possibility of having some error in your js, if so, the event will fire weather it's true or false.
Please don't forget to mark 'Good Answer', if you find it really a good one!
Kashif
|
|
|
|
|
can i upload multifile in one time ? in c#
e.x. for one file upload i wrote :
protected System.Web.UI.WebControls.FileUpload attach;
attach = new FileUpload();
item.Attachments.Add(attach.FileName, attach.FileBytes);
but now i want 3,4,5,... files in one time
|
|
|
|
|
ptvce wrote: can i upload multifile in one time
You have create your own control or you have to use 3 party control in asp.net.
There is no built in asp.net control that can upload multiple file.
|
|
|
|
|
Add 3 or 4 or 5 Upload Controls and add one Button that Will do the Upload for all these Control. add a Progress Bar so that your users will know what is happening.
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
When you place more than one fileupload control, all the chosen files will be sent on submit of the request.
You will find each file in its file collection..
|
|
|
|
|
i want uppload a file in virtual directory Can i?
is it possible? can anybody help?
|
|
|
|