|
hi, but here i am not using dropdownlist but simple html select box.....
|
|
|
|
|
|
HI,
I making an application of sending email.but i m getting the error msg
"No connection could be made because the target machine actively refused it "
can u plz help me.
thanks in advance!!
|
|
|
|
|
|
Hi,
If u still u have problem , then pls let me know
Regards
Anil Pal
|
|
|
|
|
I want to display the username once the user logs in successfully.
iam using loginview control in the master page but how to insert the username in the logged in template of the loginview control..
everytime by default it displays the value in the logged in template instead of anonymous template..
plzz suggest some solution
|
|
|
|
|
Hi,
In loggin page u can do below code to assign the user name in either way:
Use label in master page:
1. Session["UserName"]="Anil"; //Set
string str =Session["UserName"].ToString(); /Get
Or
2. Context.User.Identity.Name ="Anil" // Set
string str=Context.User.Identity.Name ;//Get
Regards
Anil Pal
|
|
|
|
|
with the following code iam tryin to access label control of the master page and modify it:
1. Dim mplabel As New Label
2. mplabel = CType(PreviousPage.Master.FindControl("Label1"), _
Label)
3. If Not mplabel Is Nothing Then
4. mplabel.Text = "welcome"
5. End If
but still iam gettin an nullreference exception in line 2:object reference not set to an instance of an object.
modified on Friday, April 3, 2009 4:21 PM
|
|
|
|
|
HI,
Please use below code to access the control of the master page. If it is outside the contentplace holder(Which ofcourse).
Page.Master.FindControl("Label1")
Regards
Anil Pal
|
|
|
|
|
I am using Crystal Report and ASP.net can anybody tell me how to customize this avery label sizes, Gaps for address Labels according to user requirement
|
|
|
|
|
hi all
i want access the textbox control in different usercontrol using javascript,im using TabContainer for access the pages.
Thanks
|
|
|
|
|
can u specify ur problem in detail.
|
|
|
|
|
i have masterpage there i have a ajax TabContainer inside that i have 3 TabPanel, one of that have i call the aspx file and that particular aspx file calling a another usercontrol.so all the textbox controls inside that usercontrol, i want access that textbox id from master page.when i see that client id it shown as follows
ctl00_ContentPlaceHolder1_testusercontrol_txtName
but javascript gives error not define.
i want access that textbox value, how to do that
|
|
|
|
|
the easiest way is to use session variable for ur purpose.
|
|
|
|
|
how is session variable going to help him with JavaScript in the client side?
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Hi
If you are using both the usercontrols in single page means, you can call var
doc=document.GetElementById("<%=txtbxName%>");
(Or)
doc=document.GetElementById("UserControlName_txtbxName");
if you are using different page, then you can create an object and then call.
(Or)
you can create class object and then assign the Textbox value to that object and access anywhere in your application
Ranjith
|
|
|
|
|
hello friends ,
i have a problem my sight working good in IE6 but its not working in IE7.in ie7 design is not right. specilly date time picker and fileupload control.some controls are on the controls..what may be the problem...?thnx in advance
|
|
|
|
|
Hi,
You have to use seprate CSS for both the IE's.
Regards
Anil Pal
|
|
|
|
|
how can i do that...do u have any example and there is no any other way to solve this problem
|
|
|
|
|
anujbanka1784 wrote: ..what may be the problem...?
CSS can be cause of that.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
how can i use two css for one control for diffrent IE
|
|
|
|
|
U can use Javascript to identify the browser and then depending upon the browser u can set the property.
|
|
|
|
|
Hi
Datetime picker and file upload controls are working fine in IE7.
Did you any css for those control? if yes means can you send that css code. I will check and tell.
Once again you can check your design and css.
Ranjith
|
|
|
|
|
.FileUpload
{
font-family:Verdana;
font-size:10px;
color:Black;
background-color:White;
}
this is i use for fileupload.and in IE7 even without css its not showing browse button its very small
|
|
|
|
|
may be just you need is to fix the float of attachment object in body of asp page.
so try this"Fixed" and sorry for incomplete info. at this time i cant remeber it clearly.
|
|
|
|