|
|
|
My question is how do I get the error message from this captcha to display using the validationsummary's ShowMessageBox property instead of ShowSummary property? I just can't get it to work. When I change the properties accordingly, it just refreshes the page and does not show the error message. Please help!!!
|
|
|
|
|
How can i use Reverse AJAX in C#? I use ANthem framework. An example will be great.
|
|
|
|
|
|
can anyone help me for creating message board for my portal!!
|
|
|
|
|
|
yes I had seen this but if u could help me with a tutorial it would be g8!
|
|
|
|
|
The articles are tutorials, they give an explanation of the code as well as the source code. What more do you want?
|
|
|
|
|
I get losts of errors when i use Jumpyforum in My portal!!!
-- modified at 12:52 Thursday 17th May, 2007
|
|
|
|
|
What kind of errors? Did you try posting the problems to the author?
|
|
|
|
|
Hi,
I wish to display all the file names within a Zip file (xxx.zip). Can anyone help me regarding this?
ASP.Net 2.0, C#.Net
Regards,
Jay
|
|
|
|
|
I am facing a bit of a problem with the IDs generated by the framework for HTML elements that exist within a user control or a web control that is added to the page dynamically.
The framework goes and creates some kind of hierarchy and adds prefixes to the IDs.
My question is how do you guys manage these when you want to create a unique CSS declaration for a specific element?
For example, if I have a user control that generates a contact form, and I want to give to a textbox that exists within that contact form a unique style.
|
|
|
|
|
Easy way: assign the controls classes and in the CSS use class selectors instead of id selectors
Hard way: emit CSS file dynamically using handlers
|
|
|
|
|
Yes, using class selectors is one of the solutions I have already thought.
There are cases though when you actually need to use ID selectors. Not many but there are some...
How about the dynamic CSS emition?
Could you please point me to more info about this technique?
Thanking you in advance.
|
|
|
|
|
theJazzyBrain wrote: How about the dynamic CSS emition?
Could you please point me to more info about this technique?
http://www.codeproject.com/useritems/LocalizationHandler.asp[^]
Not exactly the same thing, but demonstrates the basic strategy. A simpler, but less elegant solution would be to just use inline CSS, added to the page at runtime as a LiteralControl, in this case you don't need custom handlers.
|
|
|
|
|
I'm sending a specially-formatted email to a UNIX system using System.Net.Mail through an Exchange relay server.
The entire message must be in plain text format, otherwise I see multiple instances of "=0D=0A" in all parts of the message (To, From, Subject and Body).
In classic ASP I turn off MIME using
With objMessage
.MimeFormatted = False
.BodyPart.ContentTransferEncoding = "base64"
Is there a similar means to turn off MIME in System.Net.Mail?
Thank you.
Rick Volberding
Knowledge Specialist
|
|
|
|
|
Hi,
In my application, i have an HTML image, on whose onclick event, i popup another page, which has a calender control. Now when user selects a date, how do i send that selected date back to the parent form and show in textbox?
Thanks
|
|
|
|
|
Hope this[^] article will help you.
Regards,
Satips.
|
|
|
|
|
Hi, i checked that article..as i'm new to asp.net, i don't understand where to put that code (window. opener) and how..could u help me out please?
Thanks & regards
|
|
|
|
|
Try by yourself if i says you will not know how it is done. First try it by yourself and tell if ther is any error post it here it says this error.
we are here to help you.
we could not do your work ok.
Regards,
Satips.
|
|
|
|
|
Hi,
In the onclick even of button i show "Javascript:ReturnDate()", ReturnDate has the window.opener code
but i get 4 build errors:
1. ) expected
2. Invalid expression term ':'
3. ; expected
4. Invalid expression term ')'
the code is written correctly..then why tat errors? ..kindly tell me what is wrong...
|
|
|
|
|
Did you code it properly.
I have done many Times. there is no error so for.
Let you paste your code we will check it out?
As per your Errors it shows nothing wrong in the functionality. seems you have missed semi-colon,colon, and the braces are different you have used.
Regards,
Satips.
|
|
|
|
|
I am inserting a row to the database through gridview, while doing this i placed an insert button in the footer of edit button column and textboxes to remaining columns the code works properly and a new roe is inserted in the database also.
The code is as fallows
protected void gv_rowcommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "insert")
{
connection = new SqlConnection("user id=sa;database=pubs;datasource=system2");
adapter1 = new SqlDataAdapter("Select * from jobdetails", connection);
ds = new DataSet();
adapter1.Fill(ds, "jobs");
rec = ds.Tables["jobs"].NewRow();
rec[0] = Convert.ToInt32(((TextBox)GridView1.FooterRow.FindControl("TextBox4")).Text);
rec[1] = ((TextBox)GridView1.FooterRow.FindControl("TextBox5")).Text;
rec[2] = Convert.ToInt32(((TextBox)GridView1.FooterRow.FindControl("TextBox6")).Text);
rec[3] = Convert.ToInt32(((TextBox)GridView1.FooterRow.FindControl("TextBox7")).Text);
ds.Tables["jobs"].Rows.Add(rec);
bldr = new SqlCommandBuilder(adapter1);
adapter1.Update(ds, "jobs");
BindData();
}
}
up to now fine, but i don't want to display all the time the textboxes for that i placed insert button in edit column header and i written in the if condition
if (e.CommandName == "insert")
{
gridview1.showfooter=true
..........remaining code same
but the code gives error an input is not in correct format
if any one know the solution for this plz help me
Thank u...
|
|
|
|
|
Hello All,
How to list users and their corresponding roles in a gridview using asp.net 2.0 and c#. We are using inbuilt login controls provided in asp.net.
Thanks!!
Jagadeesh
|
|
|
|