|
thank you,I tried adding code in Preinit event,it really worked.
I still have some question,I need to add control by clicking the assigned button,but if i add this code in preinit event,it always add control whenever any button clicked.If i got 2 or more buttons on the page ,how to identify which button cause the adding event?
The second is,how to save the dynamically added control's property (for example:textbox) ,if i change the text of the textbox,after page posted,the dynamically added control re-builded,how can i get the changed text.
|
|
|
|
|
Hello all
I am displaying treeview in a dropdownlist using Ajax dropdownextendar control. But i am facing one problem.
When i click on "+" image in treeview for displaying subnodes then at that time page get post back and it again hide the treeview and when i click on dropdownlist then it shows me nodes and its subnodes.
As per the requirement when i click on "+" in treeview control image it should show me subnodes without postback.
Help Me
Thanks
Rahul
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
|
Hi,
I currently have a site and I do have an SSL key, but I am not forcing the main page to be run in SSL. However, this main page has a few options that anonymous users can use as well as a login/password text box using ASP.NET's built in login functionality.
Is it possible for me to have it so that, when the user enters data into the username/password and submits it, it goes through SSL for the postback here regardless of if they are logging into the site via HTTPS or HTTP? I am trying to avoid forcing the main page to be always run in SSL and I am assuming that if I don't do anything and the user logs in over HTTP, their username/password is sent around in clear text.
Thanks,
Steve
|
|
|
|
|
wpisteve wrote: username/password is sent around in clear text.
You could always just use a one-way secured crypto hash of the password. Why not just use SSL?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
How about a box for the user's username which is on the main HTTP page which then goes to a separate HTTPS page where the user then enters their password which is then encrypted. I've seen banks do this with Internet banking, where the user enters an ID or other insensitive piece of data then they are redirected to an encrypted page to enter the sensitive information like sort code and security number.
Regards,
--Perspx
"I've got my kids brainwashed: You don't use Google, and you don't use an iPod." - Steve Ballmer
"Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph." - Linus Torvalds
|
|
|
|
|
I want to provide a hyperlink reference for dynamicaly created image control
(suppose my controlname is img)
Got ? give...
|
|
|
|
|
Add the image control inside a hyperlink control or an
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='url'>
<asp:Image ID="img" runat="server" />
</asp:HyperLink></td>
Alexei Rodriguez
|
|
|
|
|
Hi,
I have my ASP.NET web application in C:\inetpub\wwwroot\NewsModule
Now in the production server, I need the files to in a News folder in the existing application, but the web.config should be outside this folder. In my application I am using relative path (~) to access user controls and style sheets. But when I uploaded these to production server and created a similar structure, I get the error "HTTP 404 , resource cannot be found"
What am I doing wrong here?
Regards,
Blumen
|
|
|
|
|
Can i change the position of the column. and
can i insert the new column in first position if table has been already created
|
|
|
|
|
Actually there is no good solution for this.
I think that if your application depends on the column order, its better for you to rethink your code. It's almost sure it will give you trouble in the future.
Even though, I think the easiest way to do that is to create a View, with the columns in tha order you want (but not for insert new column in different order...)
Intelligence is almost useless for those who have nothing else!
Email: caiokf@gmail.com
|
|
|
|
|
Can u plz help me to find out hw can i disable print button of crystal report which is placed in a child page.I want that only authorized users can take the printouts of reports.
thanks in advance....
Maniiiiiiiiiiiiiii
|
|
|
|
|
Perhaps Crystal Report provide property WindowShowPrintBtn . You can set true/false as your requirement.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
It has the property PrintatBottomofPage,sorry but i dont have much knowledge
about Reports can u plz elaborate me,i have to set print disable in my master page so hw can i access that print button in my master page....
thanks for ur reply...
Maniiiiiiiiiiiiiii
|
|
|
|
|
in master page find the child control & make set its property like this
CrystalDecisions.Web.CrystalReportViewer c = (CrystalDecisions.Web.CrystalReportViewer)ContentPlaceHolder1.FindControl("CrystalReportViewer1");
c.HasPrintButton = false;
c.HasExportButton = false;
Maniiiiiiiiiiiiiii
|
|
|
|
|
Hi friends
I want to disable a enter key in my page. Because I m having two submit buttons in my page for two particular group of controls value submission. One group for registration and another for login in the same page itself. Is there anyway control within .net programming or client side javascript? Could you tell me how to assign the particular submit button to a particular set of group controls.
Advance thanks for your help.
G Nathan
|
|
|
|
|
|
Add the first group of controls inside a panel and set the panel's defaultbutton to the corresponding button
Do the same for the other group of controls
Alexei Rodriguez
|
|
|
|
|
Hi ,
I have to call the some function which is written in .cs file using javascript or at client side
How it is possible with out using ajax functionality ?plz giude me
Raghvendra
|
|
|
|
|
You can not.
But you can work around. So can you advise your requirement so that I can suggest you whatever possible way.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
well i m currently working on project which does not using ajax .
and does have only aspx pages , and whatever less page it has it only have javascripts file in ot . and every things is done on js files . what i new that without scriptmanager i cant call any method of .cs claass in javascript. but this site do not using <asp:scriptmanager so="" how="" it="" can="" call="" any="" function="" of="" cs="" mode="hold" xmlns:asp="#unknown">
i my point is is u can scggest any way that will probably give me some keyword to which i will search in my site, and god knows it could give me
some clue abt how this site is handelling this database from js file
Raghvendra
|
|
|
|
|
i my point is is u can scggest any way that will probably give me some keyword to which i will search in my site, and god knows it could give me
some clue abt how this site is handelling this database from js file
Raghvendra
|
|
|
|
|
check ASP.NET 2.0 client callback functionality
|
|
|
|
|
Hi All,
I need to upload CSV and insert data from CSV to table in oracle for one application.In sqlclient there is one option for sqlbulkcopy.is there is any option available in oledb?if pls give me sample code.If not available how i can solve this.Can any one give me sample code for how i can insert csv data from ASP.NET to table in Oracle
Thanks in advance
Regards,
sajesh
|
|
|
|
|
Dear All,
In my web applcation, I am creating a template column, which will hold an imge.
But as the template column is a class I am unable to take the path of the image.
Then I tried with HttpContext.Current.Server.MapPath, it also haven't work, then I had it as an embeded web resource.
I am unable to use the Page.ClientScript in order to use the function GetWebResourceUrl.
Then I passed the page to the class constructor and then I tried.
The above two scenarios dosen't work for me.
The code is below:
img.ImageUrl = instancePage.ClientScript.GetWebResourceUrl
(typeof(NewAdminTool), "MyApplicationName.Images." +
((DataRowView)container.DataItem)["FileExtID"].ToString() + ".jpg");
(instancePage is the instance of the page which is passed from the page where the grid is.)
and
img.ImageUrl = Path.Combine(HttpContext.Current.Server.MapPath("Images"), ((DataRowView)container.DataItem)["checked"].ToString() + ".gif");
Can any one help me to solve this?
It is very urgent.
Thanks a lot in advance
Best Regards,
M. J. Jaya Chitra
|
|
|
|