|
Hi all,
I have a class inside a name space. I have added the summary and comments for this class.
'''
''' For example this class does so and so
'''
''' <param name="menuId" />
''' <param name="userLevel" />
''' <param name="viewable" />
''' <remarks>
when iam converting to dll the class description is not showing.
Any ideas why.
|
|
|
|
|
include the System.ComponentModel and add the description as attribute
<br />
C#<br />
<br />
using System.ComponentModel;<br />
namespace Blah<br />
{<br />
[Description("Your description")]<br />
public class YourClass<br />
{<br />
}<br />
}<br />
<br />
VB<br />
<br />
imports System.ComponentModel<br />
Namespace Blah<br />
<br />
<Description("Your description")><br />
Public Class YourClass<br />
End Class<br />
<br />
End Namespace<br />
[
|
|
|
|
|
First of all, your code is clearly coming
Any way
Did u add the XML Document file for that? Property page of project=> build
in build section, check lower part there is a XML document file section, give a file path to /bin/release folde.
Build you Application!!!1
Done
|
|
|
|
|
hi,
using C# i did a user control that i want to use from web page.
when i tried the control using windows application it works ok.
when i add it as object to the web page it is never loaded.
this control uses a special dll which is needed for its operation.
could it be the reason for the problem?
how can i add external dll's so they will be installed on the client side?
thanks
|
|
|
|
|
samy100 wrote: using C# i did a user control that i want to use from web page.
when i tried the control using windows application it works ok.
when i add it as object to the web page it is never loaded.
this control uses a special dll which is needed for its operation.
could it be the reason for the problem?
how can i add external dll's so they will be installed on the client side?
First, I like to clarify some background information about your first line. By default, any .NET Windows Forms controls are not exactly ActiveX controls. You can use ActiveX controls and embed it directly on any web page, but ActiveX control means it can only run on Internet Explorer.
Secondly, any Windows Forms control you've created needs to be wrapped as a COM object. COM object itself is an ActiveX control. After this, you can embed it in any web pages. Good luck.
Eriawan
|
|
|
|
|
can u send me some reference for how it is done?
thanks
|
|
|
|
|
How to bind the Records To hashTable...,
Example:
Select Id,Name as Employee
In this query I like to bind the id as key and Name as Value in that hash table...,
Advance Thanks,
Regards,
Magi
|
|
|
|
|
Hi,
Logically no. but if you want to use it in this way then just write small wrap around method to do this.
cheers
Ravi Kant Srivastava
(System Analyst)
HandsOn Technology & Engineering
Gurgaon
(India)
e-mail:ravikant@hte.co.in
|
|
|
|
|
I add Item in dropdownlist =(Add New). To Show the Items(Add New) use by property = AppendDataBound = True. And AutoPostBack = True.I want that when click the dropdownlist then appear the text box. Enter any value and Button Click to save database. My dropdownlist attach the database.
My Event is
protected void ddlItemtype_SelectedIndexChanged(object sender, EventArgs e)
{
if (ddlItemtype.SelectedIndex == 0)
{
txtItemType.Visible = true;
}
}
but this event is not working.
Anybody please help me.
|
|
|
|
|
Don't repost the same question continue in the already posted itself.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Have you put any validator controls in the page?
or set Cause validation property false and try it
bEst rEgard
pAthan
please don't forget to vote on the post that helped you.
|
|
|
|
|
I got following scenario:
User control placed on default.aspx page, in my user control i got a text box and "Submit" button is on my user control.
Now i need to add the validat my text box (which is in user control) when user clicks "Submit" button then i should show error message. I need to do my validation on client side
I tried it by adding an attribut to my button like this :
BtnSave.Attributes.Add("onclick", "if (!ValidateSecActionType()) return false; ");
then i wrote this code in codefront page :
function ValidateSecActionType()
{
if(document.getElementById('txtSecActionTypeTitle').innerText == "1" )
{
document.getElementById('AlertLbl').style.visibility = 'visible' ;
return false;
}
return true;
}
now when i run my page i have an error like this :
Object Required
how can i do this ?????????????
thanks alot....
|
|
|
|
|
Could you share some more information about the error message, like when and where it occurs, and what code line it refers to?
I don't know if this is the cause of the error, but:
The innerText property is only available in Internet Explorer, and probably only in quirks mode. Use innerHTML instead.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
go to view source, and check whether the, 'txtSecActionTypeTitle' is same or it is comming with some prefixfollowed with and underscore.
eg:
'ctl00_txtSecActionTypeTitle'
Ravi Kant Srivastava
(System Analyst)
HandsOn Technology & Engineering
Gurgaon
(India)
e-mail:ravikant@hte.co.in
|
|
|
|
|
hi,
This is rajendran,working as a web developer and am developing one multimedia project.and I want to know how read & write the swf file from database(SQL Server)..
Plz reply me..Thanks
Rajendran
|
|
|
|
|
Great, you have posted this on almost all forums. Have you went down to this forum and checked a similar post exist there or not ? Click [^]
|
|
|
|
|
hi,
Really Good work.I solved that problem....thanks alot
Rajendran
|
|
|
|
|
Hi ,
Navaneeth Can we see an images from the table(database)...If u know plz reply me...
thanks..
Rajendran
|
|
|
|
|
hi friends
How to delete or clear the data grid value in asp.net,At the time of post Back
|
|
|
|
|
DataGrid1.DataSource = null;
DataGrid1.DataBind();
|
|
|
|
|
frnd ur code hide the data, not deleting ,if i refresh the form again the old data also displaying.
|
|
|
|
|
What do you want to do ? Be more specific with question, show some sample code, how it will display again ?
|
|
|
|
|
I am having a string in format(KSERVER/Name)...Now i want only the Name,How can i split?....I dont want to use Substring method.
Thanks in Advance...
|
|
|
|
|
Split it with / , you will get a string array. From that you can take name easily
|
|
|
|
|
Dim arr() As String
Dim n As Int16
Dim str As String = "KSERVER/Name"
arr = Split(str, "/") 'using / split the sring
For n = 0 To UBound(arr)
MessageBox.Show(arr(n))
Next
i think this code will help u.
by srinivasan.s
|
|
|
|