How to Add another admin user to Azure Account

by ebarcza 3/27/2020 9:28:00 AM

  1. From the portal home page, click on the Subscriptions Icon(KEY), and then click on the subscription you want to add an admin account to.
  2. Click on Access Control(IAM)
  3. Click the Add BUtton
  4. Choose Co-Admin
  5. FInd the user
  6. CLick Add at the bottom

 

Home>Subscriptions>Azure subscription 1 | Access control (IAM)

Tags:

Viewing the SQL Server Error Log

by ebarcza 3/24/2020 8:25:00 AM

View Log Files

  1. In Object Explorer, expand Management.

  2. Do either of the following:

    • Right-click SQL Server Logs, point to View, and then click either SQL Server Log or SQL Server and Windows Log.

    • Expand SQL Server Logs, right-click any log file, and then click View SQL Server Log. You can also double-click any log file.

    The logs include Database MailSQL ServerSQL Server Agent, and Windows NT.

Tags:

How to create shortcut to website on chrome

by ebarcza 3/23/2020 9:22:00 AM

 

1.    Navigate to https://www.repairtraq.com/login.aspx and click the ••• icon in the right corner of the screen.

2.    Select More tools.

3.    Select Create Shortcut...

4.    Edit the shortcut name.

5.    Click Create.

 

Tags:

RegisterStartupScript to open new page in new tab

by ebarcza 3/19/2020 2:42:00 PM

                int DeviceID = int.Parse(e.CommandArgument.ToString());

                sesobj.ItemID = DeviceID;

                string js = "";

                string target = "_self";

                if (chkNewTab.Checked)

                {

                    target = "_blank";

                }

                js = "window.open('DeviceDetails.aspx?DeviceID=" + DeviceID + "','" + target + "');";

                ScriptManager.RegisterStartupScript(Page, Page.GetType(), "newWindow", js, true);

Tags:

test

by ebarcza 2/3/2020 1:13:00 PM

test

Tags:

Outlook 503 No recipient(s) when sending

by ebarcza 1/22/2019 2:02:00 PM

Looks like your outgoing server requires authentication. Follow these steps for Outlook 2007.

On the main menu in Outlook go to tools>Account Settings>Change>More Settings>Outgoing Server>Then check the box that says 'my outgoing server (SMTP) requires authentication'.

That's it you're done it should now work. What this does is it automatically authorises the outgoing server to the right port set by your mail server.

Tags: ,

Outlook

Bootstrap Centering a column using offsets

by ebarcza 1/8/2019 9:34:00 AM

This will create 2 columns centered in the 12 column grid system

This approach uses Bootstrap's own offset classes so it requires no change in markup and no extra CSS. The key is to set an offset equal to half of the remaining size of the row. So for example, a column of size 2 would be centered by adding an offset of 5, that's (12-2)/2.

<div class="row">
    <div class="col-md-2 col-md-offset-5"></div>
</div>

Tags: ,

Loop through RadGrid and read Check Boxes when not in edit mode

by ebarcza 10/10/2017 8:17:00 AM

Step 1 - create a GridTemplate Column with a checkbox

 <telerik:GridTemplateColumn UniqueName="colCheckDelete" HeaderText="Delete">
                    <ItemTemplate>
                        <asp:CheckBox ID="chkDelete" runat="server" />
                   </ItemTemplate>

 </telerik:GridTemplateColumn>

Step 2 - The codebehind loop

foreach (GridDataItem item in rgDeals.MasterTableView.Items)
        {
            CheckBox chkDelete = (CheckBox)item["colCheckDelete"].FindControl("chkDelete");
            if(chkDelete.Checked)
            {
                //Delete the deal
                try
                {
                    int dealID = Convert.ToInt32(item.GetDataKeyValue("DealID"));
                    string sql = "Delete stuff where dealID = " + dealID;
                    int rslt = Utility.ExecuteNonQuerySQL(sql);
                }
                catch (IndexOutOfRangeException ex)
                {
                    //do nothing
                }
                catch (Exception ex)
                {
                    ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), "alert", "CreateMasterAlert('alert alert-danger', '" + "One or More deletes failed" + "');", true);
                }
            }
        }
        rgDeals.Rebind();
        ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), "alert", "CreateMasterAlert('alert alert-success', '" + "Delete Operation completed" + "');", true);

Tags:

.NET | SQL SERVER | Telerik

Cannot read keys when either application does not have a console or when console input has been redirected from a file. Try Console.Read.

by ebarcza 6/23/2017 9:58:00 AM
[No text]

Tags:

RadGrid Filter Case Sensitive

by ebarcza 11/11/2016 6:27:00 AM
GroupingSettings CaseSensitive = "false"

Tags: , ,

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

Name of author Author name
Something about me and what I do.

E-mail me Send mail

Calendar

<<  October 2020  >>
MoTuWeThFrSaSu
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar

Recent comments

Tags

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2020

Sign in