|
Hi,
I think u have to use dream weaver for that. I don't know exactly but It is possible. so just go thru it.
best of luck
Rana Krishnraj
|
|
|
|
|
I have a problem with postbacks and master pages.
I have a website project I’ve quickly put together to test this in Visual Studio 2005 (asp.net & c#). On the master page, there are two ContentPlaceholders.
In one of the web pages called search.aspx (which uses the master page), I have a ASP.Net WebControl Button in the second ContentPlaceHolder that I simply want to use to generate a postback.
However, when I try the button in the browser, nothing happens! There is just no postback!
I am using Internet Explorer 7; it seems to work okay in Firefox. But it needs to work in IE7 for what I am doing.
Can anyone help with this, as it’s critical to the actual project?
Thanks in advance.
|
|
|
|
|
have you done a debug of your code?
and 'seems to wortk' does that mean it works or it works sometimes (ie after a pages refresh or so) ?
|
|
|
|
|
i have some heading along with my gridview data, which i am exporting to excel.
both are being exported to excel successfully , except the text exporting(heading) problem , it is lying in the first line in first cell in excel file , can i merge that line and align the text to center, programatically
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Which method do you use to create the excel file?
You rewrite the HTML page with of do you use the COM Interop?
ANyway: you can change layout for the gridview in the RowDataBound Eventhandler
|
|
|
|
|
|
wEb GuRu... wrote: BUT it could not help me to construct truly hackable URLs
What is the problem you are facing ? Take a look at URLRewriter.NET[^], it's a powerful URL rewriting library.
|
|
|
|
|
Its working fine, only for URLs with .ASPX extensions.
Like following url is working fine
www.domain-name.com/category/index.aspx
BUT url without .aspx extension like
www.domain-name.com/category/ gives "File not found" Error. As ASP.net only handles pages with extension .aspx.........!
|
|
|
|
|
You may want to add index.aspx in IIS's default documents list....
|
|
|
|
|
wEb GuRu... wrote: www.domain-name.com/category/
Arghh extension less URL's, I love them, but it's not possible to do that with IIS6.0. Possible solution is to create "category" folder and put an empty "index" file there. If you are on windows server 2008 or Vista which comes with IIS 7, you can make URL-Rewritting works in the early stages of HTTP pipeline.
|
|
|
|
|
hi all
I have problem when debug with vs2005 on window vista untimate
I set my web project use IIS web server when run on vs2005
But when i bug have error "Unable start debugging on web server. An authendicate error occurred while communicating with web server"
Some body help me ???
|
|
|
|
|
|
Hello all
In my one of the project i want to implement following functionality.
My website contain information about user which are suffering from disease. On every day or two or three time in a week a doctor doing checkup for my patient and updating his status in to database. Suppose it could happen that one of the patient data is not updated in to database from last 2 week that means doctor forgot to check that person then in that case i want to send the email to admin and doctor about that patient. Current status of that user is not updated from last 15 days (doctor dosenot check that patient since last 15 days).
How can i implement this functionality. What i have to do?
Please provide me some guideline....
I want to check data for each user registered with my site...
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Well you will need a piece of code in your application which runs everytime your application opens. This bit of code will contain a query checking if any dates in the patient data that don't have updated info are more then 15 days old. If there are, it will loop all the records brought back and send an e-mail reminder for each one.
Hope this gets you started
|
|
|
|
|
That means each time when application open it should check edited date of which user is less that 15 days from current date then it should retrieve id for all that user and send mail.
Can u plz guide me little about the query...
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Your best bet is to write a windows service and get it installed on the server. This service should be able to check the database and send mails. Here is an article[^] which explains about how to get started with windows service.
Hope it helps
|
|
|
|
|
I want to implement this functionality in a existing site.
So can i use this window service in an existing site?
Thanks i am reading that article? Hope so it help me..
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Windows service don't have any connection with the website. It works independently.
|
|
|
|
|
Ok,
If i create a window service for that then when the service start running?
If i want to use this service with my application i just want to deploy
it on server and it start running.
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
rahul.net11 wrote: then when the service start running?
In the installer project you can set the service starting type. Manual/Automatic.
|
|
|
|
|
Is there any other method rather that creating window service.
Can u tell me how can i start window service. I am having one application i wan to test? how can i install that service.
I have gone to command promt then run installutil.exe from following path
it says
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
cannot start service from command line dubugger. a window service must be installed using installutil.exe and started with server explorer. Window service administrative tool or window net start method.
Thanks
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
hi all,
How to create crystal reports dynamically from datatable during runtime.
Ash
Ash
modified on Tuesday, April 1, 2008 6:10 AM
|
|
|
|
|
hi all
iam using this JS
if (needToConfirm==true)
return "Warning";
a popup confirm window appears. i need to handle the ok button i.e. i want to assign a value to a local variable when ok is pressed.
|
|
|
|
|
Use confirm
if (confirm('Message'))
|
|
|
|
|
I have been battling with setting gridview column width. Can some one help me out? I have a gridview that is bound to a datatable. Im using a session object as the datasource to my datatable and i want the gridview column width to be set to some value. Below are my various trial
Protected Sub grdDetails_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles grdDetails.RowDataBound
'If e.Row.RowType = DataControlRowType.Header Then
' 'If e.Row.RowType = DataControlRowType.DataRow Then
' 'e.Row.Cells(0).Width = New Unit(1400, UnitType.Pixel)
' 'e.Row.Cells(1).Width = CInt(Server.HtmlDecode(2400))
' e.Row.Cells(0).Attributes.Add("style", "width: 100px;")
' e.Row.Cells(1).Attributes.Add("style", "width: 100px;")
'End If
'grdDetails.Columns(1).ItemStyle.Width = CInt(Server.HtmlDecode(1400))
'grdDetails.Columns(2).ItemStyle.Width = CInt(Server.HtmlDecode(2400))
If e.Row.RowType = DataControlRowType.DataRow Then
e.Row.Cells(0).Text = Date.Parse(e.Row.Cells(0).Text).ToString("d")
'format the numeric values
For j As Integer = 3 To 5
e.Row.Cells(j).CssClass = "ralign" 'Amount Col
e.Row.Cells(j).Text = Decimal.Parse(e.Row.Cells(j).Text).ToString("n")
Next
'ElseIf e.Row.RowType = DataControlRowType.Footer Then
' 'display summary data in the appropriate cell
' e.Row.Cells(4).Text = "Total :"
' e.Row.Cells(5).Text = GetTotal().ToString("n")
End If
End Sub
any help will be appreciated
|
|
|
|