|
Not a good question. How can we possibly tell you what is wrong if you haven't told us what is going wrong; i.e. the specifics of the problem?
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Information is not appropriate but you can check for Pop blocker Setting in your browsers.
Turn Them OFF
- Happy Coding -
Vishal Vashishta
|
|
|
|
|
Hi, Is the sample code to have a GridView with row insert and row footer to display totals. Thats a gridview with multiple row footers basically.
Please help.
Regards
Stagga
|
|
|
|
|
For an Idea you can workout with rowdatabound event of gridview
- Happy Coding -
Vishal Vashishta
|
|
|
|
|
Hi,
-- modified 21-May-12 13:44pm.
|
|
|
|
|
Member 3879881 wrote: my problem wil get resolved?
Since you haven't told what the actual problem is, the answer is maybe.
Failure is not an option; it's the default selection.
|
|
|
|
|
|
You're not getting it. "working fine" and "not responding well" tells us absolutely nothing.
If you want help then explain what is not working.
Failure is not an option; it's the default selection.
|
|
|
|
|
I have a form with auto postback set for custom validation on several text fields. It also has a list view of items which acts as a record selector to populate the text fields from a database when selected. The problem is that if I edit a text field and then click on the list view, the code behind for the text field runs and the listview returns to the previous selection which means the user has to click twice on the listview to select a new record. I'm sure there is a way to determine which option on the listview was clicked on and run the code behind for the listview after the code behind for the text box but I can't seem to find it. Doese anyone have any ideas or preferably a solution that they have implemented?
|
|
|
|
|
I have 2 textboxes and a button. for texbox 1 i have used a handler for autocompletion from database. and using javascript on key pressing "enter" key the focus changes to textbox 2.. in textbox2 textchanged event i am checking a value in database corresponding to the values in textbox1.
so on post back the focus is set to textbox1. i want to be on button1.
$(document).ready(function() {
$("#<%=textbox1.ClientID%>").autocomplete('../wholesalers/Handler.ashx');
});
$(function() {
$('input:text:first').focus();
var $inp = $('input:text');
$inp.bind('keydown', function(e) {
var key = e.which;
if (key == 13) {
e.preventDefault();
var nxtIdx = $inp.index(this) + 1;
$(":input:text:eq(" + nxtIdx + ")").focus();
}
});
});
protected void Page_Load(object sender, EventArgs e)
{
lbl_Wname.Text = Request.QueryString["name"];
if (!IsPostBack)
{
textbox1.Attributes.Add("onkeypress", "returnSetfocus(event,'" + textbox1.ClientID + "')");
}
else
{
button1.Focus();
}
}
protected void textbox2_TextChanged(object sender, EventArgs e)
{
if (textbox2.Text == "" || textbox2 == null)
{
ScriptManager.RegisterStartupScript(this, GetType(), "error", "alert('Enter Quantity');", true);
}
else
{
MySqlConnection mcn = new MySqlConnection("server=localhost;---------------------");
mcn.Open();
MySqlCommand cmd = new MySqlCommand();
cmd.CommandText = "searchp";
cmd.CommandType = CommandType.StoredProcedure;
cmd.Connection = mcn;
cmd.Parameters.Add("p_product_name", MySqlDbType.VarChar).Value =textbox1.Text;
DataTable dt = new DataTable();
MySqlDataAdapter ada = new MySqlDataAdapter(cmd);
ada.Fill(dt);
if (dt.Rows.Count > 0)
{
string sts = dt.Rows[0]["status"].ToString();
if (sts == "available")
{
Image1.ImageUrl = "~/images/tick.gif";
}
if (sts == "not-available")
{
Image1.ImageUrl = "~/images/cross.gif";
}
}
button1.Focus();
}
}
|
|
|
|
|
|
<form id="form1" runat="server" defaultfocus="TextBox1" >
|
|
|
|
|
In my small company, we used a contract shop that setup an C#.net web form 2010 application. In the future, I will be supporting the website.
Thus I am wondering what are the categories I should check on to view the 'health' of a website. Also with these health checks, what would be recommendations on how to fix problems when they occur.
For example, I know this contract shop did not 'conserve' on viewstate and they used linq to sql instead of using the entity framework when setting up the website. Thus can you tell me if these and other categories are areas I should be checking on?
|
|
|
|
|
I want to manually import this dll, and not make a reference to it, so I can import it if running on Vista, and import another dll if I am running on XP.
I found the DLLImport with the send message example, I understand it, but it doesn't seem to apply since the user32.dll is unmanaged, and the dll I want to use is managed.
|
|
|
|
|
hi,
i have a xml file with the following nodes structure.
<travel>
<countries>
<name>china</name>
<name>india</name>
<name>usa</name>
<name>singapore</name>
</countries>
</travel>
i want the output as like below by using XSL (1.0):
china, india, usa, and singapore
i tried many examples which available on net, but the outcome i get is:
chinaindiausasingapore,
please help.
thx.
|
|
|
|
|
|
hi,
thx for answering, but actually i need them to output into aspx page not in excel. i tried to use this code but its not working
<xsl:for-each select="countries">
<xsl:value-of select="."/>
<xsl:choose>
<xsl:when test="position() != last()">
,
</xsl:when>
</xsl:choose>
</xsl:for-each>
|
|
|
|
|
how i attach the sign page of asp.net with google plz send about its solutions
lsajidali@yahoo.com
|
|
|
|
|
You need to handle OAuth authentication (the longer way) or use the components available like for example SocialAuth.NET available here
Always Keep Smiling.
Yours Pankaj Nikam
|
|
|
|
|
I have a gif image of the United States. Based on data in a database I would like to dynamically place points of some type on the gif. Then associate these points with a hotspot(imagemap control). Is this possible?
|
|
|
|
|
Wsmithjr wrote: (imagemap control)
You answered your own question
Failure is not an option; it's the default selection.
|
|
|
|
|
Hi,
I have a controller that returns a FileContentResult that shows a pdf file in the browser. It works correctly in my local system but after I upload my site and try to reach that page I get "The resource cannot be found(HTTP 404)error".
any suggestion?
|
|
|
|
|
check MV3 files path on the the upload server.
|
|
|
|
|
Hi,
Is it possible to call a asp.net function from javascript function.?
for example, my code is like this.
<dxe:ASPxComboBox ID="cmbmMicroCause" Width="100%" runat="server" DataSourceID="RootCauseMicroDataSource"
TextField="name" ValueField="code" ClientInstanceName="cmbmMicroCause"
AutoPostBack="false" >
<ClientSideEvents SelectedIndexChanged="function(s,e){OncmbMicroCauseChanged(s);}" />
</dxe:ASPxComboBox>
on the selection change event of
OncmbMicroCauseChanged() and clickevent of the button
saveBusinessExpections() i want to call a asp.net function GetData() and FillAccountaValue() simultaneously.
I can't write a Serverside event directly for this controls, if i do this operation directly in serverside control, it will filter all the data and get the records from DB and it is very time consuming and i can't use AJAX controls here too, its not allowed here.
Please someone help me on this.
|
|
|
|
|
Yes possible, set function attribute as Webmethod
Parwej Ahamad
|
|
|
|