|
Hi i created one project in that ane dll file will be created,
Its a private dll,
Now i want to make it as public or shared,
how to do it?,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Basically, you replace the word private on the classes you're creating, with public.
This question also has nothing to do with ASP.NET. It's also straightforward enough that I'd be recommending you buy a beginners book and work through it.
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 )
|
|
|
|
|
|
Better buy a book for this and start reading and practicing.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
i opened popup window using window.open i want to close the popup window as well as refresh the parent form
|
|
|
|
|
Create one Javascript function in Parent window
function refresh()
{
//code for refresh window
}
and then
Create one function in Popupwindow
function closeNRefresh()
{
window.opener.refresh();
window.close();
}
still you have any problem reply me
Best Regards,
Chetan Patel
|
|
|
|
|
|
how to implement this using C# in asp.net
|
|
|
|
|
meghamaharshi wrote: how to implement this using C# in asp.net
What does it mean ???
The soluation you got it is in java script !!!!
Best Regards
-----------------
Abhijit Jana
Microsoft Certified Professional
"Success is Journey it's not a destination"
|
|
|
|
|
what to i write in refresh function
|
|
|
|
|
Check This Link[^]
Best Regards
-----------------
Abhijit Jana
Microsoft Certified Professional
"Success is Journey it's not a destination"
|
|
|
|
|
Better Buy a book and start read about the JavaScript Functionality.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Hello Friends...
I am having some problem with the image control. I want to generate the image dynamically for that i have done this..
Image img = new Image();
img.ImageUrl=@C:\Documents and Settings\Naveen\My Documents\My Pictures\login-welcome.gif";
this.Controls.Add(img);
Image control comes on the page but image is not showing........
Plz help me..
Thanks....
Deepak Nigam
|
|
|
|
|
deepaknigam11 wrote: mg.ImageUrl=@C:\Documents and Settings\Naveen\My Documents\My Pictures\login-welcome.gif";
Try this
img.ImageUrl=@"C:\Documents and Settings\Naveen\My Documents\My Pictures\login-welcome.gif";
you have missed out <big>"</big>
This is code is working for me !!!!
Image Imag = new Image();<br />
Imag.ImageUrl = @"C:\test\64006706.jpg";<br />
this.Controls.Add(Imag);
Best Regards
-----------------
Abhijit Jana
Microsoft Certified Professional
"Success is Journey it's not a destination"
|
|
|
|
|
Sir Thanks for replying
In my application there was a problem bcoz of spaces in the url that should be converted to %20.
Its working fine with C:\test\64006706.jpg as there is no space.
but in my case there are spaces between my documents it was the reason.
Can we do this programatically..
I don't want to search space and replace %20.....
Is there any other way........
Deepak Nigam
|
|
|
|
|
Try to use with UrlDecode
Best Regards
-----------------
Abhijit Jana
Microsoft Certified Professional
"Success is Journey it's not a destination"
|
|
|
|
|
I setup a club site from the MSDN web. I have been trying to add a file upload section for our newsletters so that they can be stored into the database as well as retrieved with a couple of gridviews I have setup. I have found a nice working model of what I am looking for and have tried to use it in my website. I have been successful at using the example in the existing code project but as soon as I put it into mu code project I have been having problems compiling the website with errors such as Name not declared and handles clause requires a WithEvents variable defined in the containing type or one of its sub types. I am new to this and am not sure where to fix this. Can someone please point me in the right direction?
Thanks in advance, If I need to post the code I can.
JC
|
|
|
|
|
I have an ASP.net project written in Visual Basic using Studio 7.10. I am trying to build it on my machine using Visual Studio 2005 (version 8.0). When I try to laod the project I get the following error:
"An error occurred accessing your windows Sharepoint Services site files...."
My question is, why is it concerned with Sharepoint? There must be something in one of the project files that needs it. How do I find out what it is?
I am very new to this. I can install Sharepoint on my computer, but I want to understand the problem better. Any comments are appreciated.
I am running Windows Vista Business with .Net 2.0.
Thanks.
|
|
|
|
|
Assigning a CssClass to a control works just like you'd expect. Except for when it doesn't. I find myself frequently doing view source on pages so I can figure out how MS is rendering stuff so that I can then debug the CSS problems. I've looked in vain for coherent MS documentation that would tell me on a per control basis what stylesheet elements they'll actually respond to.
I would think it would be a Good Thing to use CssClass rather than control properties, but I grow weary of the guessing game with some controls (try managing the width of a horizontal Menu control without getting your menu items spaced three light years across).
Am I missing something terribly obvious in this architecture? Is there some Holy Grail (or at least Holy Hand Grenade) that I'm overlooking that would explain, in very simple words and as if to a small child, just exactly what CSS these controls are willing to play nice with?
|
|
|
|
|
Is it possible to resize or hide the SQLDatasource control in design time
They make tables and other control look bigger than what they will look at run time
Thanks for your answer
Alexei Rodriguez
|
|
|
|
|
Hello All,
Got a funny little thing happening when I am trying to pass 2 bits of information from one page to the other. I am using public properties on the source page and trying to retrive the properties on the target page. What is happening is that I can only retrieve one of the elements but not the other. Both are setup in the same manner but I just can't seem to get one of the values. Below are the snippets of code. Any assistance will be greatly appreciated. Oh, I can only retrive the integer value. I cannot retrieve the UserName.
SOURCE PAGE SNIPPET:
public partial class Main : System.Web.UI.Page
{
private int pUID;
private string pUserName;
public string userName
{
get
{
return pUserName;
}
}
public int uID
{
get
{
return pUID;
}
}
TARGET PAGE SNIPPET:
if (PreviousPage != null)
{
if (PreviousPage.IsCrossPagePostBack == true)
{
//this.Label1.Text = (string)Page.PreviousPage.FindControl("username").ToString();
if (PreviousPage.userName != null)
{
pageUserName = PreviousPage.userName.ToString();
this.Label1.Text = String.Format("{0} is the user name.", pageUserName);
}
else
{
this.Label1.Text = "It's empty.";
}
if (PreviousPage.uID.ToString() != null)
{
pageUID = PreviousPage.uID.ToString();
this.Label1.Text = this.Label1.Text + String.Format(" {0} is the user name.", pageUID);
}
}
|
|
|
|
|
ffowler wrote: public string userName
{
get
{
return pUserName;
}
}
I can only assume that pUserName isn't being set properly. Are you sure the value of this variable has been set before you access the Property?
ffowler wrote: if (PreviousPage.uID.ToString() != null)
Calling ToString() on an int will never return a null value, so this check is redundant. Make your property get/set a nullable int instead.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
I thought of the variable not being set so on the Source page I added:
this.lblSuccess.Text = String.Format("Successful login. Welcome back {0}", userName);
which displays correctly. I set the value on the postback after I retrive the name from the dB. So therein lies my problem.
Flow:
- Display initial page with login txtBoxes user clicks continue.
- Post back to same page and do the db stuff and assign values.
- User clicks another continue button to go to the next page.
- Target page finds the public variables with IntelliSense so it knows it's there.
Crazy man. Crazy.
|
|
|
|
|
Is it possible to start a function or subroutine AFTER an aspx page has loaded? I have tried Page_Load(), read into AJAX and tried a few things (UpdatePanel and ScriptManager), and tried calling a vb function from javascript on the page (calling back to my _Default class); thus far, nothing has worked.
My goal is to develop an application that checks for the existence of registry values and logs a line of text to a listbox control after each registry check. This is pointless if the logging is all populated to the listbox before the page completely loads (which is what happens if I use Page_Load()). I also want this entire process to be automated so that the user does not have to click a button or do anything to initiate the registry checking.
Is what I'm trying to accomplish possible with ASP.NET with or without AJAX? Am I on the right track? Any suggestions?
Thank you!
|
|
|
|
|
Hi..
I have made a page using which files can be uploaded.File gets uploaded after creating a folder with same name of the particular file,within a root folder.
Now,I want that a specific group of users will be able to download not all but some files,other files will be not be accessible to them.Again another group of users will be able to download another set of files.
I hope my need is clear
So,how can this be achieved?Any suggestion,code snippet,tips will be helpful..
Thank you
|
|
|
|