|
At what point do you intend to learn to use google, or to buy a book ?
The control itself defines an event, so the easiest thing ( although not the nicest ) is to expose the control publically. There's no point using a get accessor, it's a reference, once someone can get the control, they can change it's properties. Then hook up the selectonchanged event in the main form.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
I think in your application the meaning of user control is changed
why you have created a user control if there are so much dependencies on that control. I think it should not be a user control
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... "
|
|
|
|
|
Yes, I agree.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Exactly,well said Sandeep.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Hi,
I have the following wizard control that I am not getting to work:
<asp:Wizard
ID="wizInsertAddress"
CancelDestinationPageUrl="Default.aspx"
DisplaySideBar="false"
NavigationStyle-HorizontalAlign="Left"
Width="100%"
runat="server"
OnFinishButtonClick="wizInsertAddress_FinishButtonClick">
<StartNavigationTemplate>
<asp:Panel ID="pnlStartNavigation" Style="padding:0px" Runat="Server">
<asp:Button ID="btnStartNext" Text="Insert" CommandName="MoveNext" runat="server" />
<asp:Button ID="btnCancel" Text="Cancel" Runat="Server"/>
</asp:Panel>
</StartNavigationTemplate>
<WizardSteps>
<asp:WizardStep ID="wizStep1" Title="Start" StepType="Start" Runat="Server">
...here I have input controls...
</asp:WizardStep>
<asp:WizardStep id="wizStep2" Title="Complete" StepType="Complete" Runat="Server">
<asp:Literal ID="litSuccessMsg" runat="server" />
<div class="verticalSpacer10"></div>
<ul class="actionlist">
<li><asp:HyperLink ID="hlUserDetails" runat="server" /></li>
<li><a href="Default.aspx">Users Home</a></li>
</ul>
</asp:WizardStep>
</WizardSteps>
</asp:Wizard>
Basically the first step is to capture address details, and then when the Insert button is clicked it goes to step 2 and displays a success message. Now in my wizInsertAddress_FinishButtonClick I do a simple Response.Write("in wizInsertAddress_FinishButtonClick"); to see if the method is fired. But it is not!!
Please can someone explain why??
Thanks
|
|
|
|
|
Have you set a breakpoint to see if it's fired ?
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Hi All,
I trying to freeze my html table from last 2-3 days but was not able to get the exact output. I realise that when I change
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
to
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
it worked properly.
Any idea???
Thanks in advance...
|
|
|
|
|
So you resolved that issue Gre8
No but i think it specify the version of html you are using
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... "
|
|
|
|
|
Ya finally I could manage to solve that problem.
Thanks ....
|
|
|
|
|
Do you know it ?
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... "
|
|
|
|
|
Means do you know Virtusa ?
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... "
|
|
|
|
|
i want to convert the user selected text to bold in the textbox he typed
|
|
|
|
|
Might be u will have to use javascript...
|
|
|
|
|
DocumentTypes---------------->Parent Node
.....Welcome
.......welcome1.PDF
.......Welcome2.PDF
....Contact
--------Contact1.pdf
---------Contact2.pdf
Now I want that, When I click on welcome1.PDF ; then I should receive this value to display on a label.
I want the same , when i click on Contact2.PDF, also its value(i.e. Contact2.PDF) should display on the Label control.
Please help me, its urgent.
With Regards
Tapan
|
|
|
|
|
U can use
oNodes1 = New TreeNode
oNodes1.Text = "Ur Text"
oNodes1.NavigateUrl = "URL where label is there"
oNodes1.Target = "If u r using frame then put the frame name"
oNodes.ChildNodes.Add(oNodes1)
Hope it helps u???
|
|
|
|
|
Hi Friend,
i want to put input validator.it allow to input only numaric value...
wait for reply
,thanking you...
Impact Pro
|
|
|
|
|
/^[0-9\s]*$/ this regular expression will allow only numeric value
|
|
|
|
|
thanks for reply,
i want complate script...
if you have ,then send me plz,
Impact Pro
|
|
|
|
|
Here is my control, what it does is that it doesn't require a numeric value, but if one is entered, it cannot be longer than 10 numeric characters. No spaces are allowed. Please modify to your needs:
<asp:RegularExpressionValidator
ID="RegularExpressionValidator_PostalCode"
ControlToValidate="txtPostalCode"
Display="Dynamic"
ErrorMessage="Optional: Invalid postal code"
ValidationExpression="\d{1,10}$"
runat="server">Optional: Invalid postal code
</asp:RegularExpressionValidator>
I hope this helps.
Regards
|
|
|
|
|
Hi,
I am using AJAX in my appl using VS 2005. In one of the checkboxlist, set of values are binded and one of the value is <b>"<n.a.> -"</b>
When I select that particular item, I got the error as:
<b>Sys.WebForms.PageRequestManagerServerErrorException: an unknow error occured while processing the request on the server. the status code returned from the server was: 500</b>
What is the cause of the error? Is this problem using AJAX? What is remedy for this problem? Can anyone help me?
Thankfully,
jm
|
|
|
|
|
You could try changing the < and > to & lt; and & gt; which may solve the problem - without the spaces, had to put them there so that the page didnt show the <>
|
|
|
|
|
Hi,
Thanks for your reply. But where should i change it? When it is binded, value is taken from DB. But when I select the item (I enabled the AutoPostBack = True) for the checklistbox. (Also I do have same kind of value in one of my Dropdownlistbox).
When i selected in the dropdownlist, The SelectedIndexChanged event not firing, instead it gives the Exception.
In this case what should I do to avoid it..
Thankfully,
jm
|
|
|
|
|
Hi,
This is from Chandrakanth.
Actually i want to Use LIST OBJECT Control which was located in EXCEL
CONTROLS.
Can any one tell me what are all the DLL i have to Add to use Excel
Controls in my Project.
Thanks And Regards
Chandrakanth.G
Chandrakanth
|
|
|
|
|
Hi,
I am working in javascript within asp.net. but default.aspx web page using under content place holder. I know that i can't use body tag in content place holder. how call a javascript function in content place holder. How It's possible?
please help me anybody urgently.
deepak_272@yahoo.com
|
|
|
|
|
When you have to call the javscript function
you can write script tag in content placeholder Whats the problem in calling the javascript ?
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... "
|
|
|
|