|
Hi
Guys i have two drop down lists on web page, on the basis of selectione made on first dropdownlist , second drop down list will be populted from Data base ,i want to do with out post back, any one has idea how to do it, please proovide me any code sample, reply ASAP , thankx in advance.
|
|
|
|
|
|
Hi,
I saved images in the data table that bind to the repeater.
I want to change the design the of the data table i.e.
serires of images are generated. one image and then after some space or td and then next image.
also images are displayed at the center.
Thanks,
|
|
|
|
|
Just edit the template of the repeater.
(This answer seems so very obvious, so it might not be what you were after. If you want a different answer, you should clarify your question.)
---
single minded; short sighted; long gone;
|
|
|
|
|
When I added ajax panel it gives error
<asp:content id="Content1" contentplaceholderid="ContentPlaceHolder1" runat="Server">
function mymess()
{
alert(document.getElementById("TextBox1.ClientID").value);
}
<asp:scriptmanager id="ScriptManager1" runat="server">
<asp:updatepanel id="UpdatePanel1" runat="server">
<contenttemplate>
<asp:label id="Label1" runat="server" text="abc">
<asp:textbox id="TextBox1" runat="server">
but with out ajax update panel it works ok. gives whatever value prited in text box. what I have to do?
vijaya
|
|
|
|
|
What's the error?
paste it
|
|
|
|
|
kvijayajyothy wrote: alert(document.getElementById("TextBox1.ClientID").value);
I don't see how this can ever work. It just plain cannot.
alert(document.getElementById("<%=TextBox1.ClientID%>").value);
will work
kvijayajyothy wrote: ö
Replacing that with a normal 'o' would also help.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
can't we use label like this
document.getElementById("<%=Label2.ClientID%>").value = document.getElementById("<%=TextBox1.ClientID%>").value;
thank you
vijaya
vijaya
|
|
|
|
|
Well, you could, but it's safer to check the return of getElementById first.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hello,
We are using master page in our website and we have a issue with it. The masterpage has a header user control, menu usercontrol which loads based on the user maintained in the session and breadcrumb user control to which the page id is passed from the content page. The issue is that we are not using the master page in the authentication page but whenever the authentication page(since it is the start page) is called the master page also initializes and the user controls throw exceptions because of unavailable values. Is there any workaround to sort this issue? Please help me. Thanks in advance.
Regards,
Das.
|
|
|
|
|
I'm not sure I understand your question or why a master page would be initialized if not included or being referenced in some way.
In any event, the best advice I could give at this moment would be to handle the null/expected values in all of your controls - that in general is a good programming practice.
|
|
|
|
|
Visual Studio .NET 2003 comes with version 8 of Crystal Reports. If I were to buy the complete package of Crystal Reports XI can I use the version XI Report Viewer instead of what comes with Visual Studio 2003?
|
|
|
|
|
How to get size of object ? i am using vb.net as backend language
|
|
|
|
|
how to do commit transaction in BAL ( business access layer)
for the transaction update/insert/delete.
if i do direct connection to oracle i have command
SqlConnection myConnection = new SqlConnection("Data Source=localhost;Initial Catalog=Northwind;Integrated Security=SSPI;");
myConnection.Open();
SqlTransaction myTrans = myConnection.BeginTransaction(); //New a transaction
SqlCommand myCommand = new SqlCommand();
myCommand.Transaction = myTrans;
try
{
myCommand.CommandText = "Update Address set location='23 rain street' where userid='0001'";
myCommand.ExecuteNonQuery();
myTrans.Commit();
Console.WriteLine("Record is udated.");
}
catch(Exception e)
{
myTrans.Rollback();
Console.WriteLine(e.ToString());
Console.WriteLine("Sorry, Record can not be updated.");
}
finally
{
myConnection.Close();
}
but in the case of BAL How to do?
Is it not requried to commit transaction?
vijaya
vijaya
|
|
|
|
|
Hi,
I have a dotnet application in which i have to take text documents from a specified folder in a selected date criteria. I'm using date picker for this. Suppose if i have to fetch the files form some 30/11/2006 to 31/11/2006,There is already folder created in the client name. Inside the client name folder there will be folders created in the name 30/11 and 31/11 respectively with the corresponding dates which has been coded already in the same project. my question is if i select a from data and todate and click submit it has to fetch the records from the folder and has to be displayed ascendingly according to the date specified. can anybody pls help me with a proper solution.
Regards
Vijay.
|
|
|
|
|
Don't repost.
You have already started a thread about this. Stick to that one.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi,
I have a dotnet application in which i have to take text documents from a specified folder in a selected date criteria. I'm using date picker for this. Suppose if i have to fetch the files form some 30/11/2006 to 31/11/2006, For that there will be a folder created in the client name inside the folder there will be folders created in the name 3011 and 3111 respectively with the corresponding dates which has been coded already in the same project. my question is i have to fetch those records if i select a from data and todate and click submit it has to fetch the records from the folder and has to be displayed ascendingly according to the date specified. can anybody pls help me with a proper solution.
Regards
Vijay.
|
|
|
|
|
Don't repost.
You have already started a thread about this. Stick to that one.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hey ,
I need Double click event for a grid view to display the selected row details .How to create double click event in asp.net 2.0.
The gridview contains USERID coloumn as invisible.but Userdetails to be shown in next page will depend on the USERID only.
Thanks
Kusuma
|
|
|
|
|
Do you need double-click or just a single click to navigate to another page.
BTW, you don't need to BOLD you questions.
only two letters away from being an asset
|
|
|
|
|
Come on when they are in BOLD I can tell that he is yelling the question. Perhaps it is loud where he works.
Ben
|
|
|
|
|
I need Double click event only.
Thanks
Kusuma
|
|
|
|
|
Hey
How to show confirmation message with yes or no option in Asp.net page 2.0. The confirmation message to be showed only on certain condition not on any button click.
The scenario is: While creating a user, need to check user name exists in DB, if exists then confirmation message “User name already exists, Do you want create user of same name .Yes and No? “. For this situation I need confirmation message.
Thanks
Kusuma
|
|
|
|
|
The easist way would be to simple display the message as a label on the page after a postback checked if a user existed.
Another way would be for an AJAX call to check the user then you could use the JavaScript confirm function
only two letters away from being an asset
|
|
|
|
|