|
Do you have any idea at all ? How does 'this is not working' tell us anything ? What is happening ? How did you try to debug it to see if the code was being called at all ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hai,
i got error---->
Sys.WebForms.PageRequestManagerServerErrorException:
An unknown error occurred while processing the request on the server. The status code returned from the server was: 0
i am using ajax tab control.local it's work fine.but web it's display above error.how to solve this error.if you know replay to me...
thank you.
|
|
|
|
|
|
thank you .i will see the link
|
|
|
|
|
When it's done.Let me know too.
Cheers!!
Brij
|
|
|
|
|
I use radio buttion list with 2 radio button.1.Single 2.Married
when user select married then a child window open in which user's Spouse and Children detail but only child window open neither radio button check value change nor the sever side command execute.
Any help would be Appreciated
Amit
|
|
|
|
|
Sounds like you need to inject some javascript to make this happen on the client side. I'd imagine both buttons would call the same js method, but a parameter would decide if the spouse/etc div is shown or hidden.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi ,
i have custom date picker control which is required field.At page load datepicker value is set.Now delete theentry in date picker, required field validator fires.After i select the date from the date picker required field still displays the error message as required field thogh the value is entered in the date picker control.
Thanks in Advance,
Sumukh
sam
|
|
|
|
|
I am using a panel and setting its scrollbar property as vertical.Inside the panel i am using a Gridview when i edit the gridview the size of the panel is increasing and the scroll bar is not enabled.
How to handle it?
Thanks in advance.....
|
|
|
|
|
Have you set a specific height on the div?
|
|
|
|
|
|
There you go then - you'll only get a scrollbar if a div goes beyond a specified height.
|
|
|
|
|
|
set the height property ...
e.g.
Height="100px"
Apurv
A man is but the product of his thoughts. What he thinks, he becomes.
.......Mahatma Gandhi
Be the change you want to see in the world.
.......Mahatma Gandhi
|
|
|
|
|
|
I am Trying to print a page in web Application, I have written the below codes but geting an error
Public Event PrintPage(sender As Object, e As System.Drawing.Printing.PrintPageEventArgs)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.
please some body Help me.
Protected Sub btnPrint_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnPrint.Click
Dim pd As PrintDocument = New PrintDocument
pd.PrinterSettings.PrinterName = printersList.SelectedItem.Text
pd.PrintPage += New PrintPageEventHandler(pd_PrintPage)
pd.Print()
End Sub
Public Sub pd_PrintPage(ByVal sender As Object, ByVal ev As PrintPageEventArgs)
Dim g As Graphics = ev.Graphics
Dim font As Font = New Font("Arial", 16)
Dim brush As SolidBrush = New SolidBrush(Color.Black)
g.DrawString("Hello Printer!", font, brush, New Rectangle(20, 20, 200, 100))
End Sub
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
If PrinterSettings.InstalledPrinters.Count <= 0 Then
Else
Dim printer As String
For Each printer In PrinterSettings.InstalledPrinters
printersList.Items.Add(printer.ToString())
Next
End If
End If
End Sub
|
|
|
|
|
You do know that this will print to the printers available to the webserver and not those necessarily available to the client (just making sure)?
|
|
|
|
|
Add event handler using
AddHandler pd.PrintPage, AddressOf pd_PrintPage
Public Sub pd_PrintPage(ByVal sender As Object, ByVal ppeArgs As PrintPageEventArgs)
End Sub
|
|
|
|
|
Public Sub New()
InitializeComponent()
End Sub
Private Sub PrintButton_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles PrintButton.Click
Dim pd As New PrintDocument()
AddHandler pd.PrintPage, AddressOf Me.pd_PrintPage
pd.Print("My Map")
End Sub
Private Sub pd_PrintPage(ByVal sender As Object, ByVal e As PrintPageEventArgs)
e.PageVisual = FarmImage '(name of the control that contain image)
End Su)
|
|
|
|
|
Hi
This is Arunvijay , in my project have to add a row at runtime in Gridview using JQuery
Pls help me to solve this problem
ArunVijay
|
|
|
|
|
Hi there,
I have problem regarding grid view.I have a page in which there are two Text Boxes who's max length is set to 50.I entered 50 alphabets in both the field and save it.After saving the data when I view that data at that time the size of grid became extremely large because of these two fields.I want to know how to reduce the size of grid.
Thanks,
|
|
|
|
|
use Wrap Property and set Warp="true"
cheers,
Abhijit
|
|
|
|
|
Hi abhijit thanks for reply.
I tried with setting this property but it works only in case when there is space in between two words if the word didn't have space then it won't work.
What to do now ?
Thanks
|
|
|
|
|
For example of wrapping check the Link[^]
You also can do one thing also.Just set the width of the column as you want.Then the exceeded charachters will come in next line.
Cheers!!
Brij
|
|
|
|
|
How to import excel file and display the contents of the excel file in a gridview using c# and asp.net.
Thanks in advance....
|
|
|
|