|
my understanding of this process is that it uses a dialog internal to the browser running in its own thread, so there is no way to hook into it using javascript - or anything else served up from the web site.
please let me know if you discover differently!
|
|
|
|
|
hi
i have to create the checkbox list dynamically and add the selectedindexchanged event handler
and against that checked change new checkboxlist will be created
but i could not handle the event handler properly
if anyone can help
|
|
|
|
|
You can't, if you create a control dynamiclaly, unless you do it before page load, there will be no viewstate. Instead, you can check through the form data posted back for the id's of checkboxes that were checked.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
try this
name_of_your_checkbox.CheckedChanged+=new EventHandler(name_of_your_function);
|
|
|
|
|
As Christian suggest , he has to do this before page load !!!
cheers,
Abhijit
Think Sharp | Code Sharp | C Sharp
|
|
|
|
|
Hi I wanted to catch SqlExceptions --see the code below.
try
{
--- here code will produce TimeOut Exception (for testing pupose}
catch(SqlException ex)
{
throw ex;
}
catch(Exception e)
{
throw e;
}
when i am getting any TimeOut Exception,My code is not going into SqlException catch block,but
it is handled in general Exception.
because i want to display actual error (inner exception message)
|
|
|
|
|
Is the timeout a SQLException ? I assume it's some other type of exception and that the SQLException is for when your SQL is bad,.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi,
when i am seeing in Quickwatch.inner exception it is saying SQLEXception
and it has message :Request Timeout
Please suggest on this...
|
|
|
|
|
How can i Create Pagging with DataList same as the Google search engine Shows in the bottom when we search anything on that.
Pradeep Sharma
|
|
|
|
|
You may need to use a repeater to get that level of control over how it's rendered.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
I would say you only can do that with a repeater or a custom control where you override the Render Method where you control everything.
If you are going to try the Repeater, try to use ITemplates classes for your repeater (those can inherit from HtmlTable and HtmlTableRow, the parentHeaderTemplate and the RowTemplate. You will see is much easier
Ricardo Casquete
|
|
|
|
|
|
You can turn off validation in javascript, I think you can specify your validators in a group and then make your control not be part of that group, or you can just render a vanilla link, so no validation occurs.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Just add "setTimeout('resetFlag()', 5);" to the OnClientClick of the ByPass Buttons. This makes needToConfirm=true again, because it became needToConfirm=false when you clicked the Submit Button with ByPassMethod in it. Thanks for your question bro...
dajuanenonli@yahoo.com
|
|
|
|
|
Hi All
I've got the following connection string in my web.config file, when I "view in browser" through VS's built in web server everything works fine, however when I copy everything to the IIS wwwroot folder and browse that I get the following error:
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
I've searched high an low but can't get the thing working!
<add name="ConnectionString5" connectionString="DSN=Excel Files;DBQ=C:\Inetpub\wwwroot\A2Z.xls;;DefaultDir=C:\Inetpub\wwwroot;DriverId=1046;MaxBufferSize=2048;PageTimeout=5;" providerName="System.Data.Odbc"/>
Really appreciate any help (again )
|
|
|
|
|
Can you try re-registering .net with IIS using aspnet_regiis.exe
Venky
|
|
|
|
|
I don't want to use any database access yet, as I don't know squat about mySQL, so how can I set up a paged system, where each page is a scanned image from a product brochure. I would like to have a menu item for each brochure, but then I seriously don't want sub-menu items for e.g. "Page 1", "Page 2".
I could get creative with a generic paging system using MultiView and View, but I need to demonstrate the content tomorrow. This is only p.o.c. for the client, so I need the quickest, and obviously dirtiest, way to page a group of pages. My first thought is a second, horizontal menu, with page numbers on it. Any other suggestions?
|
|
|
|
|
Create a list of data in code, that's a perfectly valid data source for a data driven control.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi
i create a simple multi language website with visual studio 2005 auto generated local resource, now i want to set default language in web.config file but how to do ?
thanks
|
|
|
|
|
hi,
We are using .Net 2.0 Web Services. I am looking for a way to get hold of Request/Response XML sent by .net.
Any suggestions?
Keep DotNetting!!
GeekFromIndia
|
|
|
|
|
Hi friends!
I am new in ASP.NET, I started ,a few days ago, to writing a website using this language. I know about C# well and I thought I can learn ASP.NET easily but now I'm confused, I don't know where to began. Please help me.
Thank you in advance.
|
|
|
|
|
ASP.NET for beginners.[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
Above reply is the best one
I wanted to suggest one more think
1.Buy ASP.NET book or hire it form your friends
2.After that take an active part in Code Project forum just check what other developers are facing problems and also see its solution
Try to resolve this issue if ou have enough time (Start from Simple one)
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
learn the lifecycle of a page object, i.e. what events fire in what order, and what each event is intended to do
once you understand how that works, the rest is easy
|
|
|
|
|
Hi all,
I have two Problem please help me.
One:
I want secure pages and i wrote this code for it
<authentication mode="Forms">
<forms name="myCookie" timeout="30" loginUrl="English.aspx" defaultUrl="_Default.aspx">
<credentials passwordFormat="Clear">
<user name="myUserName" password="myPassword"/>
</credentials>
</forms>
</authentication>
<authorization>
<allow users="myUserName"/>
<deny users="?"/>
</authorization>
but I don't access to _Default.aspx page.
Two:
I want a DropDownList that AutoPostBack property is true
and i wrote this code for select an item:
protected void ddlField_SelectedIndexChanged(object sender, EventArgs e)
{
row = myFunction(2, ddlField.SelectedItem.Text);//row select index in database
DT_SelectAdeptP = TA_SelectAdeptP.GetData(1, row);
ddlAdept.DataSource = DT_SelectAdeptP;
ddlAdept.DataTextField = "Adept";
ddlAdept.DataBind();
}
but this code didn't execute and page is loading agian
Please help me.
Thanks in advance.
|
|
|
|