|
hi
in an asp.net webpage i use a user control (that create it before).
my problem can not access to it's controls (such as TextBox)
how can solve it ?
|
|
|
|
|
in VB
me.textbox1.text = "some text"
in c#
this.textbox1.text = "some text";
|
|
|
|
|
hello everybody
on my page i used some icon
when i put my mouse on that icon it will show a little informations
like infoIcon show how can i get a memberid
Sarfarj Ahmed
|
|
|
|
|
Use the tooltip text and see if that works.
|
|
|
|
|
thanks for ur quick reply
could please send me any exmaple or code you know
Sarfarj Ahmed
|
|
|
|
|
This can be done in either html or code.
HTML
<br />
asp:Image ID="Image1" runat="server" ToolTip="Hi this is cool" <br />
CODE
<br />
protected void Page_Load(object sender, EventArgs e)<br />
{<br />
this.Image1.ToolTip = "This might be cooler";<br />
<br />
}<br />
|
|
|
|
|
Hi,
please provide any useful link regarding CCTV application using ASP.net
or live webcam telecast using web application.
be thankful for any reply
They laugh at me; they think I’m different. I laugh at them, ‘coz they are all same!! CrazySanker
|
|
|
|
|
The are projects in Codeproject which describe video capture etc...
|
|
|
|
|
My project(site) has a page named 'Login.aspx'. That's the loginUrl for forms authentication. It works fine as a project but once deployed request to that page will result in an error. What could be the problem I am getting access to the other pages only this one has the problem. I tried renaming it but still the error persists. I ve only renamed the page's name not its class.
|
|
|
|
|
|
Runtime Error <br />
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. <br />
<br />
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
Its not saying anything specifically about the error. I got the error fixed when I changed the class name to 'UserLogin' from Login. But love to know what has gone wrong.
|
|
|
|
|
hi all
how to set a cell width in itextsharp...???
thanks in advance.
siri
|
|
|
|
|
Hi professionals,
I am a begginer in web programming and this question just popped in my head.
If I am to design a website that serves thousands of users conccurrently, let's say a forum, let us assume that we have infinite server bandwidth and storage capacity, are there any considerations I should take into account when designing my website, for example what is the effect of the following points on concurrency and performance of the database:
1. Choosing between different database engines (JET, Oracle, MySQL, SQL Server...)
2. Optimizing the SQL Query.
3. Are there any techniques that I should follow in my C# code-behined to improve oncurrency? what are they (if any)?
4. Any other things to consider?
Thank you very much
Mohammad
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|
|
Mohammad A Gdeisat wrote: Any other things to consider?
1 - A perfectly layered architecture would give easy solutions for maintaining your application.
2 - Understanding which operations are costly and, using right controls and data access classes.
3 - Proper caching of your data.
4 - Disabling viewstates on the pages which doesn't require postback
5 - Indexing the tables
6 - Designing the pages with DIV and CSS instead of using tables.
and many more
|
|
|
|
|
Since u r a biggener, don't fly so high just make an simple start and think about such terms when u get some experience. i doesn't demotivate u but it is just an suggetion for u .
Thx
manoj Kumar Jha
"Learn to smile at every situation. See it as an opportunity to prove your strength and ability."
|
|
|
|
|
Stop using text speak. Please read the forum guidelines.
|
|
|
|
|
Sorry, it never happens in future.
manoj Kumar Jha
"Learn to smile at every situation. See it as an opportunity to prove your strength and ability."
|
|
|
|
|
hello every body
<br />
' Fill ddlMemberGroup<br />
Private Sub ddlMemberGroupFill()<br />
<br />
If Not Page.IsPostBack Then<br />
Dim conn As SqlConnection = New SqlConnection(Web.Configuration.WebConfigurationManager.ConnectionStrings("TCCLMS").ConnectionString)<br />
Dim queryString As String = "SELECT GROUPID, GROUPNAME FROM MEMBERGROUP ORDER BY GROUPNAME ASC"<br />
Try<br />
conn.Open()<br />
Dim comm As SqlCommand = New SqlCommand(queryString, conn)<br />
' Dim dataReader As SqlDataReader = comm.ExecuteReader()<br />
Dim adapter As SqlDataAdapter = New SqlDataAdapter(comm)<br />
Dim ds As DataSet = New DataSet()<br />
ds.Clear()<br />
adapter.Fill(ds)<br />
<br />
ddlMemberGroup.DataSource = ds<br />
ddlMemberGroup.DataTextField = "GroupName"<br />
ddlMemberGroup.DataValueField = "GroupID"<br />
ddlMemberGroup.DataBind()<br />
ddlMemberGroup.Items.Insert(0, New ListItem("Select One...", "Value"))<br />
conn.Close()<br />
Catch ex As Exception<br />
<br />
conn.Close()<br />
End Try<br />
<br />
End If<br />
<br />
End Sub<br />
Compare Validator aspx code
<br />
<asp:CompareValidator ID="cvddlMemberGroup" runat="server" ControlToValidate="ddlMemberGroup"<br />
ErrorMessage="Please select a Member Type" Operator="NotEqual" ValueToCompare="Select One..."></asp:CompareValidator><br />
If I dont select a member type then im not getting error.
N.B.
if i fill up my ddlMemberGroup like below then it does work
<br />
<asp:DropDownList id="ddlMemberGroup" runat="server" AutoPostBack="True"><br />
<asp:ListItem>Select One..</asp:ListItem><br />
<asp:ListItem>one</asp:ListItem><br />
<asp:ListItem>two</asp:ListItem><br />
<asp:ListItem>three</asp:ListItem><br />
<asp:ListItem>four</asp:ListItem><br />
<asp:ListItem></asp:ListItem><br />
</asp:DropDownList><br />
I need to fill up ddlMemberType from Database
Thanks in Advace
Sarfarj Ahmed
|
|
|
|
|
hi
ddl items starts with 0
so, try with -1
siri
|
|
|
|
|
if i put -1 then Select One... doesn't show on ddlMemberType
Sarfarj Ahmed
|
|
|
|
|
I have table and width is 100%. It contains three td‘s. first td width is 250px, second td width is 10px, 3rd td width is 100%.I want to display the results from database to 3rd td.
The results are displaying fine for small database tables (contain less than 10 columns).
If the columns are more than 10 td width is going out of window size. For that I placed scroll bars for td .which is not working.
Is any one having idea about it?
kamalnath
|
|
|
|
|
What code you have done for that we can tell blankly without seeing the code.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Put the table within a DIV and try from there.
|
|
|
|
|
can anyone tell me the c# code to print the crystal report.
pintoo
|
|
|
|
|
Get it
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|